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 -
        Hide
        Hızır Sefa İrken added a comment -

        This patch should do it.

        Show
        Hızır Sefa İrken added a comment - This patch should do it.
        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 ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12520276/HDFS-8075.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        -1 core tests. The patch failed these unit tests:
        org.apache.hadoop.fs.viewfs.TestViewFsTrash

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/830//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/830//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12520276/HDFS-8075.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.fs.viewfs.TestViewFsTrash +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/830//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/830//console This message is automatically generated.
        Robert Joseph Evans made changes -
        Target Version/s 0.23.2 [ 12319855 ] 2.0.0, 3.0.0 [ 12320352, 12320357 ]
        Hide
        Eli Collins added a comment -

        Yea, for now let's make it debug and file another jira to make it INFO on the server.

        Show
        Eli Collins added a comment - Yea, for now let's make it debug and file another jira to make it INFO on the server.
        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 ]
        Hide
        Eli Collins added a comment -

        +1 lgtm, test failure is unrelated.

        Show
        Eli Collins added a comment - +1 lgtm, test failure is unrelated.
        Eli Collins made changes -
        Assignee Hızır Sefa İrken [ ginnun ]
        Hide
        Eli Collins added a comment -

        I've committed this and merged to branch-2. Thanks Hizir!

        Show
        Eli Collins added a comment - I've committed this and merged to branch-2. Thanks Hizir!
        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}
        Hide
        Colin Patrick McCabe added a comment -

        thanks, Hızır

        Show
        Colin Patrick McCabe added a comment - thanks, Hızır
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2653 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2653/)
        HADOOP-8075. Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322)

        Result = FAILURE
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2653 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2653/ ) HADOOP-8075 . Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2689 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2689/)
        HADOOP-8075. Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322)

        Result = SUCCESS
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2689 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2689/ ) HADOOP-8075 . Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2625 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2625/)
        HADOOP-8075. Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322)

        Result = SUCCESS
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2625 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2625/ ) HADOOP-8075 . Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1143 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1143/)
        HADOOP-8075. Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322)

        Result = FAILURE
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1143 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1143/ ) HADOOP-8075 . Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1175 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1175/)
        HADOOP-8075. Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322)

        Result = FAILURE
        eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1175 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1175/ ) HADOOP-8075 . Lower native-hadoop library log from info to debug. Contributed by Hızır Sefa İrken (Revision 1376322) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1376322 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Thomas Graves made changes -
        Fix Version/s 0.23.7 [ 12323956 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #523 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/523/)
        HADOOP-8075. Lower native-hadoop library log from info to debug. (Hızır Sefa İrken via eli) (Revision 1444853)

        Result = SUCCESS
        tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1444853
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #523 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/523/ ) HADOOP-8075 . Lower native-hadoop library log from info to debug. (Hızır Sefa İrken via eli) (Revision 1444853) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1444853 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/NativeCodeLoader.java
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        50d 18h 58m 1 Hızır Sefa İrken 06/Apr/12 14:06
        Patch Available Patch Available Resolved Resolved
        138d 10h 55m 1 Eli Collins 23/Aug/12 01:02
        Resolved Resolved Closed Closed
        49d 17h 42m 1 Arun C Murthy 11/Oct/12 18:45

          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