Zoltan Haindrich created HIVE-18184:
---------------------------------------

             Summary: qtests should set some hadoop_home if possible
                 Key: HIVE-18184
                 URL: https://issues.apache.org/jira/browse/HIVE-18184
             Project: Hive
          Issue Type: Improvement
          Components: Tests
            Reporter: Zoltan Haindrich


this exception is always in the hive.log which are produced during qtest 
executions...

{code}
java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset.
        at org.apache.hadoop.util.Shell.checkHadoopHomeInner(Shell.java:454) 
~[hadoop-common-3.0.0-beta1.jar:?]
        at org.apache.hadoop.util.Shell.checkHadoopHome(Shell.java:425) 
~[hadoop-common-3.0.0-beta1.jar:?]
        at org.apache.hadoop.util.Shell.<clinit>(Shell.java:502) 
[hadoop-common-3.0.0-beta1.jar:?]
        at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78) 
[hadoop-common-3.0.0-beta1.jar:?]
        at 
org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1555) 
[hadoop-common-3.0.0-beta1.jar:?]
        at org.apache.hadoop.hive.conf.HiveConf.getBoolVar(HiveConf.java:4150) 
[hive-common-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.apache.hadoop.hive.conf.HiveConf.getBoolVar(HiveConf.java:4177) 
[hive-common-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:4384) 
[hive-common-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:4295) 
[hive-common-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.apache.hadoop.hive.ql.QTestUtil.<init>(QTestUtil.java:541) 
[hive-it-util-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.cli.control.CoreCliDriver$1.invokeInternal(CoreCliDriver.java:65)
 [hive-it-util-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.cli.control.CoreCliDriver$1.invokeInternal(CoreCliDriver.java:61)
 [hive-it-util-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.util.ElapsedTimeLoggingWrapper.invoke(ElapsedTimeLoggingWrapper.java:33)
 [hive-it-util-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.cli.control.CoreCliDriver.beforeClass(CoreCliDriver.java:67)
 [hive-it-util-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at 
org.apache.hadoop.hive.cli.control.CliAdapter$1$1.evaluate(CliAdapter.java:71) 
[hive-it-util-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.junit.rules.RunRules.evaluate(RunRules.java:20) 
[junit-4.11.jar:?]
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309) 
[junit-4.11.jar:?]
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:369)
 [surefire-junit4-2.20.1.jar:2.20.1]
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:275)
 [surefire-junit4-2.20.1.jar:2.20.1]
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to