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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Beeline
    • Labels:
      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

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

              Dates

              • Created:
                Updated: