Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.1-incubating, 1.4.2
-
None
Description
Executing the following ant command, hbase test compilation failed.
ant -d -f build.xml clean tar -Dmaven.test.skip=true -Dhadoopversion=100 -Dhadoop.version=1.0.1 -Dzookeeper.version=3.3.4 -Dhbase.version=0.92.0 -Dresolvers=internal
Build failure:
[javac] /root/HDP/hdp_builds/sqoop-branch-1.4.1/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java:30: cannot find symbol
[javac] symbol : class HBaseTestingUtility
[javac] location: package org.apache.hadoop.hbase
[javac] import org.apache.hadoop.hbase.HBaseTestingUtility;
[javac] ^
[javac] /root/HDP/hdp_builds/sqoop-branch-1.4.1/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java:110: cannot find symbol
[javac] symbol : class HBaseTestingUtility
[javac] location: class com.cloudera.sqoop.hbase.HBaseTestCase
[javac] private HBaseTestingUtility hbaseTestUtil;
[javac] ^
[javac] /root/HDP/hdp_builds/sqoop-branch-1.4.1/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java:116: cannot find symbol
[javac] symbol : class HBaseTestingUtility
[javac] location: class com.cloudera.sqoop.hbase.HBaseTestCase
[javac] hbaseTestUtil = new HBaseTestingUtility(conf);
[javac] ^
[javac] /root/HDP/hdp_builds/sqoop-branch-1.4.1/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java:167: internal error; cannot instantiate Configuration(boolean) at org.apache.hadoop.conf.Configuration to ()
[javac] HTable table = new HTable(new Configuration(
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors