Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7353

Cleanup FsShell and prevent masking of RTE stacktraces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      FsShell's top level exception handler catches and displays exceptions. Unfortunately it displays only the first line of an exception, which means an unexpected RuntimeExceptions like NullPointerException only display "cmd: NullPointerException". This user has no context to understand and/or accurately report the issue.

      Found due to bugs such as HADOOP-7327.

        Attachments

        1. HADOOP-7353.patch
          26 kB
          Daryn Sharp
        2. HADOOP-7353-2.patch
          26 kB
          Daryn Sharp

          Issue Links

            Activity

              People

              • Assignee:
                daryn Daryn Sharp
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: