Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2E306200C8B for ; Mon, 22 May 2017 17:20:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2CB57160BBF; Mon, 22 May 2017 15:20:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 72B9C160BA5 for ; Mon, 22 May 2017 17:20:06 +0200 (CEST) Received: (qmail 76453 invoked by uid 500); 22 May 2017 15:20:05 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 76439 invoked by uid 99); 22 May 2017 15:20:05 -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; Mon, 22 May 2017 15:20:05 +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 E0DCF1AFB14 for ; Mon, 22 May 2017 15:20:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] 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 dhzrjZ8kswbv for ; Mon, 22 May 2017 15:20:02 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 403FF5FCB9 for ; Mon, 22 May 2017 15:20:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v4MFK0gE031056; Mon, 22 May 2017 15:20:00 GMT Message-Id: <201705221520.v4MFK0gE031056@ip-10-146-233-104.ec2.internal> Date: Mon, 22 May 2017 15:20:00 +0000 From: "Sailesh Mukil (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Henry Robinson , Alex Behm , David Knupp , Matthew Jacobs , Dan Hecht Reply-To: sailesh@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-5331=3A_Use_new_libHDFS_API_to_address_=22Unknown_Error_255=22=0A?= X-Gerrit-Change-Id: I181e316ed63b70b94d4f7a7557d398a931bb171d X-Gerrit-ChangeURL: X-Gerrit-Commit: 8e433e4f12e80c5e8703ad3e151a3df40e61f8e3 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Mon, 22 May 2017 15:20:07 -0000 Sailesh Mukil has posted comments on this change. Change subject: IMPALA-5331: Use new libHDFS API to address "Unknown Error 255" ...................................................................... Patch Set 7: (2 comments) http://gerrit.cloudera.org:8080/#/c/6894/6/tests/data_errors/test_data_errors.py File tests/data_errors/test_data_errors.py: Line 78: try: > I wonder about stacking all of these asserts in one block. If any of them f Yes, that makes sense. If it fails, we'd want to know why. I've added a line that prints the stderr if it's not empty. This should have sufficient information to be able to debug if any of these commands fail. We'd want the safe mode to be turned off regardless of success or failure, since we don't want the effect of this test to leak into other tests if anything gets run after this. Line 97: # Confirm that we were able to get the root cause. > If this is the happy path, this is fine. If the assert fails though, you mi I've added a message that says "Couldn't turn Safe mode OFF". -- To view, visit http://gerrit.cloudera.org:8080/6894 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I181e316ed63b70b94d4f7a7557d398a931bb171d Gerrit-PatchSet: 7 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Sailesh Mukil Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: David Knupp Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Matthew Jacobs Gerrit-Reviewer: Sailesh Mukil Gerrit-HasComments: Yes