From hdfs-issues-return-232837-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Sun Sep 9 07:35:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 11A71180671 for ; Sun, 9 Sep 2018 07:35:04 +0200 (CEST) Received: (qmail 54560 invoked by uid 500); 9 Sep 2018 05:35:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 54548 invoked by uid 99); 9 Sep 2018 05:35:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2018 05:35:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 65BE01A18D3 for ; Sun, 9 Sep 2018 05:35:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ubTFiQKaoYWN for ; Sun, 9 Sep 2018 05:35:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 896005F2AA for ; Sun, 9 Sep 2018 05:35:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9D48DE0E3E for ; Sun, 9 Sep 2018 05:35:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 375C123F98 for ; Sun, 9 Sep 2018 05:35:00 +0000 (UTC) Date: Sun, 9 Sep 2018 05:35:00 +0000 (UTC) From: "Lokesh Jain (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDDS-318) ratis INFO logs should not shown during ozoneFs command-line execution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDDS-318?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D166083= 22#comment-16608322 ]=20 Lokesh Jain commented on HDDS-318: ---------------------------------- [~szetszwo] Thanks for working on this! The patch looks very good to me. I = have verified that the log messages of ConfUtils do not appear now. Can we = make the block static? =C2=A0 {code:java} bin/ozone oz -putKey /vol1/bb1/key1 -file /Users/ljain/Downloads/a.txt 2018-09-08 17:04:44,809 WARN util.NativeCodeLoader: Unable to load native-h= adoop library for your platform... using builtin-java classes where applica= ble 2018-09-08 17:04:45,368 INFO util.LogUtils: Set org.apache.ratis.conf.ConfU= tils log level to WARN 2018-09-08 17:04:48,036 INFO util.LogUtils: Set org.apache.ratis.conf.ConfU= tils log level to WARN 2018-09-08 17:04:50,375 INFO util.LogUtils: Set org.apache.ratis.conf.ConfU= tils log level to WARN 2018-09-08 17:04:53,099 INFO util.LogUtils: Set org.apache.ratis.conf.ConfU= tils log level to WARN {code} Then the log in LogUtils would appear only once. =C2=A0 > ratis INFO logs should not shown during ozoneFs command-line execution > ---------------------------------------------------------------------- > > Key: HDDS-318 > URL: https://issues.apache.org/jira/browse/HDDS-318 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Filesystem > Reporter: Nilotpal Nandi > Assignee: Tsz Wo Nicholas Sze > Priority: Blocker > Labels: newbie > Fix For: 0.2.1 > > Attachments: HDDS-318.20180907.patch > > > ratis INFOs should not be shown during ozoneFS CLI execution. > Please find the snippet from one othe execution : > =C2=A0 > {noformat} > hadoop@08315aa4b367:~/bin$ ./ozone fs -put /etc/passwd /p2 > 2018-08-02 12:17:18 WARN NativeCodeLoader:60 - Unable to load native-hado= op library for your platform... using builtin-java classes where applicable > 2018-08-02 12:17:19 INFO ConfUtils:41 - raft.rpc.type =3D GRPC (default) > 2018-08-02 12:17:19 INFO ConfUtils:41 - raft.grpc.message.size.max =3D 33= 554432 (custom) > 2018-08-02 12:17:19 INFO ConfUtils:41 - raft.client.rpc.retryInterval =3D= 300 ms (default) > 2018-08-02 12:17:19 INFO ConfUtils:41 - raft.client.async.outstanding-req= uests.max =3D 100 (default) > 2018-08-02 12:17:19 INFO ConfUtils:41 - raft.client.async.scheduler-threa= ds =3D 3 (default) > 2018-08-02 12:17:19 INFO ConfUtils:41 - raft.grpc.flow.control.window =3D= 1MB (=3D1048576) (default) > 2018-08-02 12:17:19 INFO ConfUtils:41 - raft.grpc.message.size.max =3D 33= 554432 (custom) > 2018-08-02 12:17:20 INFO ConfUtils:41 - raft.client.rpc.request.timeout = =3D 3000 ms (default) > Aug 02, 2018 12:17:20 PM org.apache.ratis.shaded.io.grpc.internal.ProxyDe= tectorImpl detectProxy > WARNING: Failed to construct URI for proxy lookup, proceeding without pro= xy > .. > .. > .. > =C2=A0 > {noformat} > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org