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

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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chuanjie.duan chuanjie.duan Assign to me
            chuanjie.duan chuanjie.duan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment