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

Cleanup FsShell and prevent masking of RTE stacktraces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • fs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: