Hadoop Common
  1. Hadoop Common
  2. HADOOP-10296

null check for requestContentLen is wrong in SwiftRestClient#buildException()

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: None
    • Target Version/s:

      Description

              if (requestContentLen!=null) {
                errorText.append(" available ").append(availableContentRange.getValue());
              }
      

      The null check should be for availableContentRange

      1. HADOOP-10296.1.patch
        0.9 kB
        Rahul Palamuttam

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Development