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

Incremental import to HBase with free form query is broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.5
    • Fix Version/s: 1.5.0
    • Component/s: hbase-integration
    • Labels:
      None

      Description

      See http://mail-archives.apache.org/mod_mbox/sqoop-user/201411.mbox/%3CCAH76rPar1gQF0_9FFTaTOd-7uVosdvXgyv%3Dc5xoNGCmV-zOyFQ%40mail.gmail.com%3E for more info.

      It appears Sqoop is trying to append to a directory that doesn't exist. It shouldn't be appending to a directory because it's writing to HBase. When stepping through the code, the trace is:

      status: 'RUNNING'
      	  at org.apache.sqoop.util.AppendUtils.append(AppendUtils.java:78)
      	  at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:504)
      	  at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
      	  at org.apache.sqoop.tool.JobTool.execJob(JobTool.java:228)
      	  at org.apache.sqoop.tool.JobTool.run(JobTool.java:283)
      	  at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
      	  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	  at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
      	  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
      	  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
      	  at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abec Abraham Elmahrek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: