From dev-return-7661-archive-asf-public=cust-asf.ponee.io@hawq.incubator.apache.org Wed Jun 20 05:38: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 7B7FE18067A for ; Wed, 20 Jun 2018 05:38:04 +0200 (CEST) Received: (qmail 92050 invoked by uid 500); 20 Jun 2018 03:38:03 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 91953 invoked by uid 99); 20 Jun 2018 03:38:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2018 03:38:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BDA85C0188 for ; Wed, 20 Jun 2018 03:38:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.3 X-Spam-Level: X-Spam-Status: No, score=-110.3 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100, WEIRD_QUOTING=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ez6AycLQWk7T for ; Wed, 20 Jun 2018 03:38:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 227A15F572 for ; Wed, 20 Jun 2018 03:38: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 98199E015A for ; Wed, 20 Jun 2018 03:38: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 0B60821829 for ; Wed, 20 Jun 2018 03:38:00 +0000 (UTC) Date: Wed, 20 Jun 2018 03:38:00 +0000 (UTC) From: "Hongxu Ma (JIRA)" To: dev@hawq.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HAWQ-1627) Support setting the max protocol message size when talking with HDFS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Hongxu Ma created HAWQ-1627: ------------------------------- Summary: Support setting the max protocol message size when talking with HDFS Key: HAWQ-1627 URL: https://issues.apache.org/jira/browse/HAWQ-1627 Project: Apache HAWQ Issue Type: Improvement Components: libhdfs Reporter: Hongxu Ma Assignee: Radar Lei Fix For: 2.4.0.0-incubating Now, the max size of protocol message in libhdfs is 64MB, and it cannot be adjusted. When the max size is reached (accessing a very big HDFS table/file), will see the following lines in hawq master log: {code} 2018-06-20 11:21:56.768003 CST,,,p75703,th-848100416,,,,0,,,seg-10000,,,,,"LOG","00000","3rd party error log: [libprotobuf ERROR google/protobuf/io/coded_stream.cc:208] A protocol message was rejected because it was too big (more than 67108864 bytes). To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.",,,,,,,,"SysLoggerMain","syslogger.c",518, 2018-06-20 11:21:56.771657 CST,,,p75703,th-848100416,,,,0,,,seg-10000,,,,,"LOG","00000","3rd party error log: 2018-06-20 11:21:56.771492, p75751, th0x7fffcd7303c0, ERROR Failed to invoke RPC call ""getFsStats"" on server ""localhost:9000"": RpcChannel.cpp: 783: HdfsRpcException: RPC channel to ""localhost:9000"" got protocol mismatch: RPC channel cannot parse response header. @ Hdfs::Internal::RpcChannelImpl::readOneResponse(bool) @ Hdfs::Internal::RpcChannelImpl::checkOneResponse() @ Hdfs::Internal::RpcChannelImpl::invokeInternal(std::__1::shared_ptr) @ Hdfs::Internal::RpcChannelImpl:",,,,,,,,"SysLoggerMain","syslogger.c",518, 2018-06-20 11:21:56.771711 CST,,,p75703,th-848100416,,,,0,,,seg-10000,,,,,"LOG","00000","3rd party error log: :invoke(Hdfs::Internal::RpcCall const&) @ Hdfs::Internal::NamenodeImpl::invoke(Hdfs::Internal::RpcCall const&) @ Hdfs::Internal::NamenodeImpl::getFsStats() @ Hdfs::Internal::NamenodeProxy::getFsStats() @ Hdfs::Internal::FileSystemImpl::getFsStats() @ Hdfs::Internal::FileSystemImpl::connect() @ Hdfs::FileSystem::connect(char const*, char const*, char const*) @ Hdfs::FileSystem::connect(char const*) @ hdfsBuilderConnect @ gpfs_hdfs_connect @ HdfsConnect @ HdfsGetConnection @ HdfsGetFileBlockLocati",,,,,,,,"SysLoggerMain","syslogger.c",518, {code} Considering HDFS has a guc *"ipc.maximum.data.length"* to set it, HAWQ also should has a guc about it. -- This message was sent by Atlassian JIRA (v7.6.3#76005)