Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-462

Sqoop hbase Test Compilation failure.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1-incubating, 1.4.2
    • Fix Version/s: 1.4.3
    • Component/s: hbase-integration
    • Labels:
      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

        Attachments

        1. Sqoop-462.patch
          0.6 kB
          Ashish Singh
        2. Sqoop-462.patch
          0.6 kB
          Ashish Singh

          Activity

            People

            • Assignee:
              ashishujjain Ashish Singh
              Reporter:
              ashishujjain Ashish Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: