Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15707

ImportTSV bulk output does not support tags with hfile.format.version=3

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.0.4, 1.4.0, 1.1.5, 1.2.2, 2.0.0
    • Fix Version/s: 1.3.0, 0.98.20, 2.0.0
    • Component/s: mapreduce
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Running the following command:

      hbase hbase org.apache.hadoop.hbase.mapreduce.ImportTsv \ 
      -Dhfile.format.version=3 \ 
      -Dmapreduce.map.combine.minspills=1 \ 
      -Dimporttsv.separator=, \ 
      -Dimporttsv.skip.bad.lines=false \ 
      -Dimporttsv.columns="HBASE_ROW_KEY,cf1:a,HBASE_CELL_TTL" \ 
      -Dimporttsv.bulk.output=/tmp/testttl/output/1 \ 
      testttl \ 
      /tmp/testttl/input 
      

      The content of input is like:

      row1,data1,00000060 
      row2,data2,00000660 
      row3,data3,00000060 
      row4,data4,00000660
      

      When running hfile tool with the output hfile, there is no ttl tag.

        Attachments

        1. HBASE-15707-v002.patch
          7 kB
          huaxiang sun
        2. HBASE-15707-v001.patch
          7 kB
          huaxiang sun
        3. HBASE-15707-branch-1_v001.patch
          6 kB
          huaxiang sun

          Activity

            People

            • Assignee:
              huaxiang huaxiang sun
              Reporter:
              huaxiang huaxiang sun
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: