Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40B8C69EA for ; Thu, 26 May 2011 13:01:00 +0000 (UTC) Received: (qmail 18611 invoked by uid 500); 26 May 2011 13:00:59 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 18586 invoked by uid 500); 26 May 2011 13:00:59 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 18578 invoked by uid 99); 26 May 2011 13:00:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 May 2011 13:00:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lars.george@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-wy0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 May 2011 13:00:53 +0000 Received: by wyf19 with SMTP id 19so623628wyf.14 for ; Thu, 26 May 2011 06:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=PKfP7diXQ0jVrtMPwr0gPSkS2frK3QUnx8IRK4/8lXQ=; b=aHjP7cD5ocgW7K9KfCMQJ9dJe7QlMfy9S6VIl+I+zXaIMiPWKGwGu12nhgoQVTDyFD UodYFbfZmHFJ/NRr4ljTLMwnIF3XsyZ6zIuX8YMutPkG5I9wXLlz0rgzlCdxeO117KtI 7jEUahxUhJ5f5nFvffeAQhJ912Jj0jUJ1ibbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ibyoXjp6uaojJsLCXh1FhQm+flMqu6lN1jJZy59FdJMT5b08UDc4RWQ46RO7nNE//I gR6ZaFJ0Th+l2vYnDZ6+3QDdwqA9EUheNpAitrIILkhV1kkwdCVazE5FSAN+xa4tPR5j I9RpvJYS+u9AUJjI3NPOMkHRGbCGbUziB+uxg= MIME-Version: 1.0 Received: by 10.216.233.224 with SMTP id p74mr847929weq.4.1306414832137; Thu, 26 May 2011 06:00:32 -0700 (PDT) Received: by 10.216.13.139 with HTTP; Thu, 26 May 2011 06:00:32 -0700 (PDT) Date: Thu, 26 May 2011 15:00:32 +0200 Message-ID: Subject: Shell scripting From: Lars George To: dev@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, See this script passed into the shell: $ bin/hbase shell ~/hbase-shell-status.rb 11/05/26 14:57:33 INFO ipc.HBaseRPC: Using org.apache.hadoop.hbase.ipc.WritableRpcEngine for org.apache.hadoop.hbase.ipc.HMasterInterface 1 servers, 0 dead, 44.0000 average load HBase Shell; enter 'help' for list of supported commands. Type "exit" to leave the HBase Shell Version 0.91.0-SNAPSHOT, r1127782, Thu May 26 10:28:47 CEST 2011 Why does it stay inside the shell? I would have expected the same behavior as in $ echo "status" | bin/hbase shell HBase Shell; enter 'help' for list of supported commands. Type "exit" to leave the HBase Shell Version 0.91.0-SNAPSHOT, r1127782, Thu May 26 10:28:47 CEST 2011 status 11/05/26 14:58:35 INFO ipc.HBaseRPC: Using org.apache.hadoop.hbase.ipc.WritableRpcEngine for org.apache.hadoop.hbase.ipc.HMasterInterface 1 servers, 0 dead, 44.0000 average load $ The latter exits the shell as expected. Also, for a while now (and I have grown blind to them) we get these INFO messages from the RPC classes. Should we add them to the block where we set the logging level already, depending on the -d switch? Lars