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

Examples in shell help message for TIMERANGE scanner specifications should use milliseconds instead of seconds

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0
    • shell
    • Reviewed

    Description

      hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804, 1303668904]}
      hbase> set_visibility 't1', '(A&B)|C', {COLUMNS => 'c1',
              TIMERANGE => [1303668804, 1303668904]}
      

      Examples for 'scan' and 'set_visibility' command use 10-digit timestamp (in seconds) as the parameter for the TIMERANGE scanner specifications. However, TIMERANGE only accepts milliseconds as its parameters.

      To avoid misleading, suggest to improve the examples by using 13-digit timestamps (in milliseconds).

      Attachments

        1. HBASE-15680.patch
          2 kB
          Li Fanxi

        Activity

          People

            Unassigned Unassigned
            lifanxi Li Fanxi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified