Hadoop Common
  1. Hadoop Common
  2. HADOOP-8075

Lower native-hadoop library log from info to debug

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha, 0.23.7
    • Component/s: native
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      The following log shows up in stderr all commands. We've already got a warning if the native library can't be loaded, don't need to log this every time at info level.

      [eli@centos6 ~]$ hadoop fs -cat /user/eli/foo
      12/02/12 20:10:20 INFO util.NativeCodeLoader: Loaded the native-hadoop library
      
      1. HDFS-8075.patch
        0.7 kB
        Hızır Sefa İrken

        Activity

        Eli Collins created issue -
        Hızır Sefa İrken made changes -
        Field Original Value New Value
        Attachment HDFS-8075.patch [ 12520276 ]
        Hızır Sefa İrken made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Robert Joseph Evans made changes -
        Target Version/s 0.23.2 [ 12319855 ] 2.0.0, 3.0.0 [ 12320352, 12320357 ]
        Eli Collins made changes -
        Affects Version/s 2.0.0-alpha [ 12320352 ]
        Target Version/s 2.0.0-alpha, 3.0.0 [ 12320352, 12320357 ] 2.0.0-alpha [ 12320352 ]
        Eli Collins made changes -
        Assignee Hızır Sefa İrken [ ginnun ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Target Version/s 2.0.0-alpha [ 12320352 ]
        Fix Version/s 2.2.0-alpha [ 12322473 ]
        Resolution Fixed [ 1 ]
        Eli Collins made changes -
        Description The following log shows up in all commands. It's useful to have it in the server log, but let's figure out a way so that it isn't logged eg every time you cat a file.

        {noformat}
        [eli@centos6 ~]$ hadoop fs -cat /user/eli/foo
        12/02/12 20:10:20 INFO util.NativeCodeLoader: Loaded the native-hadoop library
        {noformat}
        The following log shows up in stderr all commands. We've already got a warning if the native library can't be loaded, don't need to log this every time at info level.

        {noformat}
        [eli@centos6 ~]$ hadoop fs -cat /user/eli/foo
        12/02/12 20:10:20 INFO util.NativeCodeLoader: Loaded the native-hadoop library
        {noformat}
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Thomas Graves made changes -
        Fix Version/s 0.23.7 [ 12323956 ]

          People

          • Assignee:
            Hızır Sefa İrken
            Reporter:
            Eli Collins
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development