Sqoop
  1. Sqoop
  2. SQOOP-462

Sqoop hbase Test Compilation failure.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

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

        Activity

        Cheolsoo Park made changes -
        Fix Version/s 1.4.3 [ 12322644 ]
        Affects Version/s 1.4.2 [ 12320141 ]
        Jarek Jarcec Cecho made changes -
        Assignee Ashish Singh [ ashishujjain ]
        Cheolsoo Park made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ashish Singh made changes -
        Attachment Sqoop-462.patch [ 12518775 ]
        Ashish Singh made changes -
        Fix Version/s 1.4.1-incubating [ 12318902 ]
        Ashish Singh made changes -
        Description Executing the following ant command, 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


        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


        Ashish Singh made changes -
        Field Original Value New Value
        Attachment Sqoop-462.patch [ 12518349 ]
        Ashish Singh created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development