Hadoop Common
  1. Hadoop Common
  2. HADOOP-7353

Cleanup FsShell and prevent masking of RTE stacktraces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Daryn Sharp created issue -
          Daryn Sharp made changes -
          Field Original Value New Value
          Link This issue is broken by HADOOP-7327 [ HADOOP-7327 ]
          Daryn Sharp made changes -
          Link This issue is part of HADOOP-7176 [ HADOOP-7176 ]
          Daryn Sharp made changes -
          Summary Display of errors masks details of some exceptions Cleanup FsShell and prevent masking of RTE stacktraces
          Daryn Sharp made changes -
          Attachment HADOOP-7353.patch [ 12481372 ]
          Daryn Sharp made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Daryn Sharp made changes -
          Attachment HADOOP-7353-2.patch [ 12481578 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.23.0 [ 12315569 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development