You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/10/15 23:50:14 UTC

Review Request 26784: Executing the "hdfs" command, a stack trace appears

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26784/
-----------------------------------------------------------

Review request for Ambari and Sid Wagle.


Bugs: AMBARI-7803
    https://issues.apache.org/jira/browse/AMBARI-7803


Repository: ambari


Description
-------


    
    RUNNING: /usr/hdp/current/hadoop-hdfs-client/bin/hdfs dfs -mkdir -p /user/hrt_qa/DFSCallsFromStreaming/DFSCallsFromStreaming-10/
    2014-10-10 09:57:28,830|beaver.machine|INFO|20726|139795657647872|MainThread|log4j:ERROR setFile(null,true) call failed.
    2014-10-10 09:57:28,832|beaver.machine|INFO|20726|139795657647872|MainThread|java.io.FileNotFoundException: /grid/0/log/hadoop/hrt_qa/hadoop.log (No such file or directory)
    2014-10-10 09:57:28,833|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.open(Native Method)
    2014-10-10 09:57:28,833|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    2014-10-10 09:57:28,834|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
    2014-10-10 09:57:28,834|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
    2014-10-10 09:57:28,835|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
    2014-10-10 09:57:28,835|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
    2014-10-10 09:57:28,836|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
    2014-10-10 09:57:28,836|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
    2014-10-10 09:57:28,841|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
    2014-10-10 09:57:28,841|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
    2014-10-10 09:57:28,842|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
    2014-10-10 09:57:28,842|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
    2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
    2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
    2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
    2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
    2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.Logger.getLogger(Logger.java:104)
    2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
    2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
    2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
    2014-10-10 09:57:28,847|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:790)
    2014-10-10 09:57:28,847|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
    2014-10-10 09:57:28,848|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
    2014-10-10 09:57:28,848|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
    2014-10-10 09:57:28,849|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:657)
    2014-10-10 09:57:28,849|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.hadoop.fs.FsShell.<clinit>(FsShell.java:43)
    


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml 1f8c32b 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hadoop-env.xml c8a1577 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml c42fff7 

Diff: https://reviews.apache.org/r/26784/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 26784: Executing the "hdfs" command, a stack trace appears

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26784/#review56824
-----------------------------------------------------------

Ship it!


Ship It!

- Sid Wagle


On Oct. 15, 2014, 9:50 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26784/
> -----------------------------------------------------------
> 
> (Updated Oct. 15, 2014, 9:50 p.m.)
> 
> 
> Review request for Ambari and Sid Wagle.
> 
> 
> Bugs: AMBARI-7803
>     https://issues.apache.org/jira/browse/AMBARI-7803
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 
>     
>     RUNNING: /usr/hdp/current/hadoop-hdfs-client/bin/hdfs dfs -mkdir -p /user/hrt_qa/DFSCallsFromStreaming/DFSCallsFromStreaming-10/
>     2014-10-10 09:57:28,830|beaver.machine|INFO|20726|139795657647872|MainThread|log4j:ERROR setFile(null,true) call failed.
>     2014-10-10 09:57:28,832|beaver.machine|INFO|20726|139795657647872|MainThread|java.io.FileNotFoundException: /grid/0/log/hadoop/hrt_qa/hadoop.log (No such file or directory)
>     2014-10-10 09:57:28,833|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.open(Native Method)
>     2014-10-10 09:57:28,833|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
>     2014-10-10 09:57:28,834|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
>     2014-10-10 09:57:28,834|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
>     2014-10-10 09:57:28,835|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
>     2014-10-10 09:57:28,835|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
>     2014-10-10 09:57:28,836|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
>     2014-10-10 09:57:28,836|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
>     2014-10-10 09:57:28,841|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
>     2014-10-10 09:57:28,841|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
>     2014-10-10 09:57:28,842|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
>     2014-10-10 09:57:28,842|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
>     2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
>     2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
>     2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
>     2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
>     2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.Logger.getLogger(Logger.java:104)
>     2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
>     2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
>     2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>     2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>     2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>     2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
>     2014-10-10 09:57:28,847|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:790)
>     2014-10-10 09:57:28,847|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
>     2014-10-10 09:57:28,848|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
>     2014-10-10 09:57:28,848|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
>     2014-10-10 09:57:28,849|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:657)
>     2014-10-10 09:57:28,849|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.hadoop.fs.FsShell.<clinit>(FsShell.java:43)
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml 1f8c32b 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hadoop-env.xml c8a1577 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml c42fff7 
> 
> Diff: https://reviews.apache.org/r/26784/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 26784: Executing the "hdfs" command, a stack trace appears

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26784/#review56826
-----------------------------------------------------------

Ship it!


Ship It!

- Alejandro Fernandez


On Oct. 15, 2014, 9:50 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26784/
> -----------------------------------------------------------
> 
> (Updated Oct. 15, 2014, 9:50 p.m.)
> 
> 
> Review request for Ambari and Sid Wagle.
> 
> 
> Bugs: AMBARI-7803
>     https://issues.apache.org/jira/browse/AMBARI-7803
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 
>     
>     RUNNING: /usr/hdp/current/hadoop-hdfs-client/bin/hdfs dfs -mkdir -p /user/hrt_qa/DFSCallsFromStreaming/DFSCallsFromStreaming-10/
>     2014-10-10 09:57:28,830|beaver.machine|INFO|20726|139795657647872|MainThread|log4j:ERROR setFile(null,true) call failed.
>     2014-10-10 09:57:28,832|beaver.machine|INFO|20726|139795657647872|MainThread|java.io.FileNotFoundException: /grid/0/log/hadoop/hrt_qa/hadoop.log (No such file or directory)
>     2014-10-10 09:57:28,833|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.open(Native Method)
>     2014-10-10 09:57:28,833|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
>     2014-10-10 09:57:28,834|beaver.machine|INFO|20726|139795657647872|MainThread|at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
>     2014-10-10 09:57:28,834|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
>     2014-10-10 09:57:28,835|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
>     2014-10-10 09:57:28,835|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
>     2014-10-10 09:57:28,836|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
>     2014-10-10 09:57:28,836|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
>     2014-10-10 09:57:28,841|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
>     2014-10-10 09:57:28,841|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
>     2014-10-10 09:57:28,842|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
>     2014-10-10 09:57:28,842|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
>     2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
>     2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
>     2014-10-10 09:57:28,843|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
>     2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
>     2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.log4j.Logger.getLogger(Logger.java:104)
>     2014-10-10 09:57:28,844|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
>     2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
>     2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>     2014-10-10 09:57:28,845|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>     2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>     2014-10-10 09:57:28,846|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
>     2014-10-10 09:57:28,847|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:790)
>     2014-10-10 09:57:28,847|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
>     2014-10-10 09:57:28,848|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
>     2014-10-10 09:57:28,848|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
>     2014-10-10 09:57:28,849|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:657)
>     2014-10-10 09:57:28,849|beaver.machine|INFO|20726|139795657647872|MainThread|at org.apache.hadoop.fs.FsShell.<clinit>(FsShell.java:43)
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml 1f8c32b 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hadoop-env.xml c8a1577 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml c42fff7 
> 
> Diff: https://reviews.apache.org/r/26784/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>