It looks like there is no hbase-site.xml in the Pig job class path.  You might 
need to create a jar file of HBase configuration and put on Pig job class path 
for it to work properly.

Sent from my iPhone

On Jun 26, 2012, at 2:50 AM, Dimboo Zhu <[email protected]> wrote:

> Hi all,
>  
> I get the following error when running ClusterSummary.pig.
> when I startup hicc, and browser http://ip:4080/hicc, it prompts "Error in 
> loading dashboard.". In the file "hicc.log", i see the same errors too. 
>  
> Thanks for the help,
>  
> Dianbau
>  
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:java.library.path=/local/bbdw/hadoop/hadoop-1.0.3/libexec/../lib/native/Linux-i386-32
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:java.io.tmpdir=/tmp
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:java.compiler=<NA>
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:os.name=Linux
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:os.arch=i386
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:os.version=2.6.18-128.el5
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:user.name=bbdw
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:user.home=/local/bbdw
> 2012-06-26 15:43:18,217 [main] INFO  org.apache.zookeeper.ZooKeeper - Client 
> environment:user.dir=/local/bbdw/hadoop/chukwa-incubating-0.5.0/logs
> 2012-06-26 15:43:18,218 [main] INFO  org.apache.zookeeper.ZooKeeper - 
> Initiating client connection, connectString=localhost:2181 
> sessionTimeout=180000 watcher=hconnection
> 2012-06-26 15:43:18,239 [main-SendThread()] INFO  
> org.apache.zookeeper.ClientCnxn - Opening socket connection to server 
> /127.0.0.1:2181
> 2012-06-26 15:43:18,242 [main] INFO  
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - The identifier of 
> this process is 19032@bbdw-194
> 2012-06-26 15:43:18,253 [main-SendThread(localhost.localdomain:2181)] WARN  
> org.apache.zookeeper.client.ZooKeeperSaslClient - SecurityException: 
>  
> java.lang.SecurityException: Unable to locate a login configuration occurred 
> when trying to find JAAS configuration.
> 2012-06-26 15:43:18,254 [main-SendThread(localhost.localdomain:2181)] INFO  
> org.apache.zookeeper.client.ZooKeeperSaslClient - Client will not 
> SASL-authenticate because the default JAAS configuration section 'Client' 
> could not be found. If you are not using SASL, you may ignore this. On the 
> other hand, if you expected SASL to work, please fix your JAAS configuration.
> 2012-06-26 15:43:18,257 [main-SendThread(localhost.localdomain:2181)] WARN  
> org.apache.zookeeper.ClientCnxn - Session 0x0 for server null, unexpected 
> error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at 
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
>         at 
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
> 2012-06-26 15:43:18,380 [main] WARN  
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Possibly transient 
> ZooKeeper exception: 
>  
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode 
> = ConnectionLoss for /hbase/master
> 2012-06-26 15:43:18,380 [main] INFO  
> org.apache.hadoop.hbase.util.RetryCounter - The 1 times to retry  after 
> sleeping 2000 ms
> 2012-06-26 15:43:19,370 [main-SendThread(localhost.localdomain:2181)] INFO  
> org.apache.zookeeper.ClientCnxn - Opening socket connection to server 
>  
> localhost.localdomain/127.0.0.1:2181
> 2012-06-26 15:43:19,370 [main-SendThread(localhost.localdomain:2181)] WARN  
> org.apache.zookeeper.client.ZooKeeperSaslClient - SecurityException: 
> java.lang.SecurityException: Unable to locate a login configuration occurred 
> when trying to find JAAS configuration.
> 2012-06-26 15:43:19,371 [main-SendThread(localhost.localdomain:2181)] INFO  
> org.apache.zookeeper.client.ZooKeeperSaslClient - Client will not 
> SASL-authenticate because the default JAAS configuration section 'Client' 
> could not be found. If you are not using SASL, you may ignore this. On the 
> other hand, if you expected SASL to work, please fix your JAAS configuration.
> 2012-06-26 15:43:19,371 [main-SendThread(localhost.localdomain:2181)] WARN  
> org.apache.zookeeper.ClientCnxn - Session 0x0 for server null, unexpected 
> error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at 
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
>         at 
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
> 2012-06-26 15:43:20,476 [main-SendThread(localhost.localdomain:2181)] INFO  
> org.apache.zookeeper.ClientCnxn - Opening socket connection to server 
> localhost.localdomain/127.0.0.1:2181
> 2012-06-26 15:43:20,476 [main-SendThread(localhost.localdomain:2181)] WARN  
> org.apache.zookeeper.client.ZooKeeperSaslClient - SecurityException: 
>  
> java.lang.SecurityException: Unable to locate a login configuration occurred 
> when trying to find JAAS configuration.
> 2012-06-26 15:43:20,476 [main-SendThread(localhost.localdomain:2181)] INFO  
> org.apache.zookeeper.client.ZooKeeperSaslClient - Client will not 
> SASL-authenticate because the default JAAS configuration section 'Client' 
> could not be found. If you are not using SASL, you may ignore this. On the 
> other hand, if you expected SASL to work, please fix your JAAS configuration.
> 2012-06-26 15:43:20,477 [main-SendThread(localhost.localdomain:2181)] WARN  
> org.apache.zookeeper.ClientCnxn - Session 0x0 for server null, unexpected 
> error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at 
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
>         at 
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
> 2012-06-26 15:43:20,579 [main] WARN  
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Possibly transient 
> ZooKeeper exception: 
>  
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode 
> = ConnectionLoss for /hbase/master
> 2012-06-26 15:43:20,579 [main] INFO  
> org.apache.hadoop.hbase.util.RetryCounter - The 2 times to retry  after 
> sleeping 4000 ms
>  
> 2012-06-26 15:46:23,390 WARN 23984709@qtp-5170955-7 RecoverableZooKeeper - 
> Possibly transient ZooKeeper exception: 
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode 
> = ConnectionLoss for /hbase/master
> 2012-06-26 15:46:23,390 ERROR 23984709@qtp-5170955-7 RecoverableZooKeeper - 
> ZooKeeper exists failed after 3 retries
> 2012-06-26 15:46:23,390 WARN 23984709@qtp-5170955-7 ZKUtil - hconnection 
> Unable to set watcher on znode /hbase/master
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode 
> = ConnectionLoss for /hbase/master
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
> at 
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:154)
> at 
> org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:226)
>  
>  
> 

Reply via email to