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

Beeline dfs command Error: Error while processing statement: (state=,code=1)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.2.1
    • None
    • Beeline
    • None

    Description

      Reproduce steps:

      1. hdfs dfs -chmod 750 /tmp/aaa  (user:test)
      2. beeline login with user test1
      3. beeline "dfs -ls /tmp/aaa"
      4. Error: Error while processing statement: (state=,code=1)

      Cause:

      beeline "dfs" command would call fsshell, fsshell just err.print(errmsg) and return "null" value when catching exception

      Attachments

        1. HIVE-19456.0.patch
          1 kB
          chuanjie.duan

        Activity

          People

            chuanjie.duan chuanjie.duan
            chuanjie.duan chuanjie.duan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: