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

Redundant deprecation warnings in hadoop logs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.18.0
    • None
    • fs
    • None

    Description

      Warnings in the form of
      "org.apache.hadoop.fs.FileSystem - "localhost:57367" is a deprecated filesystem name. Use "hdfs://localhost:57367/" instead."
      are frequently emitted into the hadoop log. The problem is that the frequency of these warnings floods the logs and makes it difficult to discover real issues.

      A short investigation reveals that while FileSystem.getFileSysName(URI) returns the file system name without the hdfs:// scheme part, the method FileSystem.fixName(String) complains about it and appends the hdfs:// back.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ykulbak Yoram Kulbak
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified