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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.0.4, 1.4.0, 1.1.5, 1.2.2, 2.0.0
    • 1.3.0, 0.98.20, 2.0.0
    • mapreduce
    • None
    • 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-branch-1_v001.patch
          6 kB
          Hua Xiang
        2. HBASE-15707-v001.patch
          7 kB
          Hua Xiang
        3. HBASE-15707-v002.patch
          7 kB
          Hua Xiang

        Activity

          People

            huaxiang Hua Xiang
            huaxiang Hua Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: