如何在火花log4j.properties
?
17/12/20 07:39:56 INFO Persistence: Property hive.metastore.integral.jdo.pushdown unknown - will be ignored
17/12/20 07:39:56 INFO Persistence: Property datanucleus.cache.level2 unknown - will be ignored
17/12/20 07:39:58 INFO Datastore: The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
17/12/20 07:39:58 INFO Datastore: The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
17/12/20 07:39:58 INFO Datastore: The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
17/12/20 07:39:58 INFO Datastore: The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
17/12/20 07:39:58 INFO Query: Reading in results for query "org.datanucleus.store.rdbms.query.SQLQuery@0" since the connection used is closing
17/12/20 07:39:59 INFO Datastore: The class "org.apache.hadoop.hive.metastore.model.MResourceUri" is tagged as "embedded-only" so does not have its own datastore table.
我已经设定:
log4j.logger.org.apache.spark=WARN
log4j.logger.org.apache.hadoop.hive=WARN
但这没有帮助。