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

        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
        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
        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-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-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-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
        Colin Patrick McCabe added a comment -

        thanks, Hızır

        Show
        Colin Patrick McCabe added a comment - thanks, Hızır
        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!
        Hide
        Eli Collins added a comment -

        +1 lgtm, test failure is unrelated.

        Show
        Eli Collins added a comment - +1 lgtm, test failure is unrelated.
        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.
        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.
        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.

          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