Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2750

Humanize AccessControlException messages thrown from HDFS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • namenode
    • None

    Description

      Right now, we get messages like:

      org.apache.hadoop.security.AccessControlException: Permission denied: user=admin, access=WRITE, inode="/user/beeswax/warehouse":hue:hive:drwxrwxr-x)

      I feel we can further humanize such strings, to perhaps read like (just an example, looking for your comments as well):

      org.apache.hadoop.security.AccessControlException: Permission denied for WRITE access for user 'admin' on path "/user/beeswax/warehouse" (hue:hive drwxrwxr-x).

      Attachments

        Activity

          People

            Unassigned Unassigned
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: