Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12789

Fix output twice in the history command of Beeline

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Beeline
    • Labels:
      None

      Description

      When I revised HIVE-12780, I confirmed that a result of history output it twice.

      [root@hadoop ~]# cat ~/.beeline/history
      select 1;
      select 2;
      select 3;
      [root@hadoop ~]# beeline
      which: no hbase in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/hadoop/bin:/usr/local/hive/bin:/usr/pgsql-9.4/bin:/root/bin)
      Beeline version 2.1.0-SNAPSHOT by Apache Hive
      beeline> !history
      1. 0: select 1;
      1. 1: select 2;
      1. 2: select 3;
      1. 3: select 1;
      1. 4: select 2;
      1. 5: select 3;

        Attachments

        1. HIVE-12789.1.patch
          4 kB
          Shinichi Yamashita
        2. HIVE-12789.2.patch
          3 kB
          Shinichi Yamashita

          Issue Links

            Activity

              People

              • Assignee:
                sinchii Shinichi Yamashita
                Reporter:
                sinchii Shinichi Yamashita
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: