nixonrodrigues opened a new pull request, #761:
URL: https://github.com/apache/atlas/pull/761

   HBase: ship commons-configuration 1.x in atlas-hbase-plugin-impl because 
import-hbase.sh excludes it from HBase lib while Hadoop still needs it when 
HADOOP_HOME/classpath is absent.
   
   Logging: create /var/log/atlas in atlas-base and mkdir -p ATLAS_LOG_DIR in 
import-hbase, import-hive, and import-kafka so logback can open import logs.
   
   Kafka: stop putting broker config and log4j jars on the import classpath to 
avoid broker log4j.properties writing to /server.log; default KAFKA_CONF to 
$KAFKA_HOME/config.
   
   ## What changes were proposed in this pull request?
   
   - Bundle commons-configuration 1.10 in atlas-hbase-plugin-impl 
(addons/hbase-bridge/pom.xml).
   - Document in import-hbase.sh why 1.x is in the plugin impl.
   - dev-support/atlas-docker/Dockerfile.atlas-base: create /var/log/atlas, 
root:hadoop, mode 775.
   - import-hbase.sh, import-hive.sh, import-kafka.sh: mkdir -p 
"${ATLAS_LOG_DIR}" after default is set.
   - Do not add KAFKA_CONF to import classpath; still source kafka-env.sh.
   - Omit log4j-*.jar from Kafka libs on import classpath.
   - Default KAFKA_CONF → $KAFKA_HOME/config.
   
   
   ## How was this patch tested?
   
   Test plan
   Rebuild: mvn -pl addons/hbase-bridge,addons/kafka-bridge -am package 
-DskipTests -Drat.skip=true; rebuild docker images with new hook tarballs and 
atlas-base.
   HBase: create a table, run import-hbase.sh with Atlas URL/credentials.
   Hive: run import-hive.sh (smoke).
   Kafka: run import-kafka.sh against running broker; confirm clean startup 
banner, no log4j root-file errors.
   Confirm log files under /var/log/atlas/.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to