[ 
https://issues.apache.org/jira/browse/AMBARI-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaly Brodetskyi updated AMBARI-6475:
--------------------------------------

    Description: 
HDP2 GA has loglevel set to INFO for many CLI (Pig and Hive in particular).

We should set this to WARN.

Also - let's get rid of all the issues described in the [INFO] section in 
Ambari, namely:

[Hive]
13/11/13 19:44:41 INFO Configuration.deprecation: mapred.input.dir.recursive is 
deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive
13/11/13 19:44:41 INFO Configuration.deprecation: mapred.max.split.size is 
deprecated. Instead, use mapreduce.input.fileinputformat.split.maxsize
13/11/13 19:44:41 INFO Configuration.deprecation: mapred.min.split.size is 
deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize
13/11/13 19:44:41 INFO Configuration.deprecation: 
mapred.min.split.size.per.rack is deprecated. Instead, use 
mapreduce.input.fileinputformat.split.minsize.per.rack
13/11/13 19:44:41 INFO Configuration.deprecation: 
mapred.min.split.size.per.node is deprecated. Instead, use 
mapreduce.input.fileinputformat.split.minsize.per.node
13/11/13 19:44:41 INFO Configuration.deprecation: mapred.reduce.tasks is 
deprecated. Instead, use mapreduce.job.reduces
13/11/13 19:44:41 INFO Configuration.deprecation: 
mapred.reduce.tasks.speculative.execution is deprecated. Instead, use 
mapreduce.reduce.speculative

Logging initialized using configuration in 
jar:file:/usr/lib/hive/lib/hive-common-0.12.0.2.0.6.0-76.jar!/hive-log4j.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/usr/lib/hive/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

[Pig]
2013-11-13 19:45:50,800 [main] INFO  org.apache.pig.Main - Apache Pig version 
0.12.0.2.0.6.0-76 (rexported) compiled Oct 17 2013, 20:44:07
2013-11-13 19:45:50,801 [main] INFO  org.apache.pig.Main - Logging error 
messages to: /root/pig_1384400750799.log
2013-11-13 19:45:50,821 [main] INFO  org.apache.pig.impl.util.Utils - Default 
bootup file /root/.pigbootup not found
2013-11-13 19:45:51,141 [main] INFO  
org.apache.hadoop.conf.Configuration.deprecation - mapred.job.tracker is 
deprecated. Instead, use mapreduce.jobtracker.address
2013-11-13 19:45:51,141 [main] INFO  
org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is 
deprecated. Instead, use fs.defaultFS
2013-11-13 19:45:51,141 [main] INFO  
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to 
hadoop file system at: hdfs://se011.ctolab.hortonworks.com:8020
2013-11-13 19:45:51,145 [main] INFO  
org.apache.hadoop.conf.Configuration.deprecation - 
mapred.used.genericoptionsparser is deprecated. Instead, use 
mapreduce.client.genericoptionsparser.used
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/usr/lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2013-11-13 19:45:51,729 [main] INFO  
org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is 
deprecated. Instead, use fs.defaultFS



> Set loglevel to WARN for releases, and fix warnings/deprecations
> ----------------------------------------------------------------
>
>                 Key: AMBARI-6475
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6475
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 1.7.0
>
>
> HDP2 GA has loglevel set to INFO for many CLI (Pig and Hive in particular).
> We should set this to WARN.
> Also - let's get rid of all the issues described in the [INFO] section in 
> Ambari, namely:
> [Hive]
> 13/11/13 19:44:41 INFO Configuration.deprecation: mapred.input.dir.recursive 
> is deprecated. Instead, use 
> mapreduce.input.fileinputformat.input.dir.recursive
> 13/11/13 19:44:41 INFO Configuration.deprecation: mapred.max.split.size is 
> deprecated. Instead, use mapreduce.input.fileinputformat.split.maxsize
> 13/11/13 19:44:41 INFO Configuration.deprecation: mapred.min.split.size is 
> deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize
> 13/11/13 19:44:41 INFO Configuration.deprecation: 
> mapred.min.split.size.per.rack is deprecated. Instead, use 
> mapreduce.input.fileinputformat.split.minsize.per.rack
> 13/11/13 19:44:41 INFO Configuration.deprecation: 
> mapred.min.split.size.per.node is deprecated. Instead, use 
> mapreduce.input.fileinputformat.split.minsize.per.node
> 13/11/13 19:44:41 INFO Configuration.deprecation: mapred.reduce.tasks is 
> deprecated. Instead, use mapreduce.job.reduces
> 13/11/13 19:44:41 INFO Configuration.deprecation: 
> mapred.reduce.tasks.speculative.execution is deprecated. Instead, use 
> mapreduce.reduce.speculative
> Logging initialized using configuration in 
> jar:file:/usr/lib/hive/lib/hive-common-0.12.0.2.0.6.0-76.jar!/hive-log4j.properties
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/usr/lib/hive/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> [Pig]
> 2013-11-13 19:45:50,800 [main] INFO  org.apache.pig.Main - Apache Pig version 
> 0.12.0.2.0.6.0-76 (rexported) compiled Oct 17 2013, 20:44:07
> 2013-11-13 19:45:50,801 [main] INFO  org.apache.pig.Main - Logging error 
> messages to: /root/pig_1384400750799.log
> 2013-11-13 19:45:50,821 [main] INFO  org.apache.pig.impl.util.Utils - Default 
> bootup file /root/.pigbootup not found
> 2013-11-13 19:45:51,141 [main] INFO  
> org.apache.hadoop.conf.Configuration.deprecation - mapred.job.tracker is 
> deprecated. Instead, use mapreduce.jobtracker.address
> 2013-11-13 19:45:51,141 [main] INFO  
> org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is 
> deprecated. Instead, use fs.defaultFS
> 2013-11-13 19:45:51,141 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting 
> to hadoop file system at: hdfs://se011.ctolab.hortonworks.com:8020
> 2013-11-13 19:45:51,145 [main] INFO  
> org.apache.hadoop.conf.Configuration.deprecation - 
> mapred.used.genericoptionsparser is deprecated. Instead, use 
> mapreduce.client.genericoptionsparser.used
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/usr/lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> 2013-11-13 19:45:51,729 [main] INFO  
> org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is 
> deprecated. Instead, use fs.defaultFS



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to