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

null is displayed in the console,if the src path is invalid while doing copyToLocal operation from commandLine

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.21.1, 0.22.0, 0.23.0
    • fs
    • None
    • Reviewed

    Description

      When we perform copyToLocal operations from commandLine and if src Path is invalid

      srcFS.globStatus(srcpath) will return null. So, when we find the length of resulted value, it will throw NullPointerException.

      Since we are handling generic exception , it will display null as the message.

      Attachments

        1. HADOOP-7174.1.patch
          3 kB
          Uma Maheswara Rao G
        2. HADOOP-7174.patch
          2 kB
          Uma Maheswara Rao G

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            umamaheswararao Uma Maheswara Rao G Assign to me
            umamaheswararao Uma Maheswara Rao G
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment