Interpreters设置
如上图红色框,默认是jdbc:phoenix:ip:2181:/hbase会报如下错
%phoenix
select * from test.Person
报错:
Failed after attempts=35, exceptions: Mon Oct 24 15:12:33 CST 2016, RpcRetryingCaller{globalStartTime=1477293153932, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master. Mon Oct 24 15:12:34 CST 2016, RpcRetryingCaller{globalStartTime=1477293153932, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
此问题题解决完,由于我在单独机器装的zeppelin,访问报下错:
Failed after attempts=35, exceptions: Mon Oct 24 15:33:49 CST 2016, RpcRetryingCaller{globalStartTime=1477294428095, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: java.net.UnknownHostException: unknown host: ldd Mon Oct 24 15:33:49 CST 2016, RpcRetryingCaller{globalStartTime=1477294428095, pause=100, retries=35}, org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: java.net.UnknownHostException: unknown host: ldd
解决办法:/etc/hosts映射,重启zeppelin。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAABp0AAAD1CAIAAAAtVqr1AAAXQ0lEQVR4nO3dTWscZ4LAcX0VfQbpEvaUy+pgBFnIN9DCGjQXgxVmdg8LY1izLLIg9kXgwGTZHOZgRgbLJGMNZj2HzQy27G5biiyr9WJJzhCWvczY5OTeQ7/Vu7pbVa1+Wr/fJerq6n6qRKsp//NU1VQTAAAAAAjN1EVvAAAAAAAwMF0PAAAAAMKj6wEAAABAeHQ9AAAAAAiPrgcAAAAA4dH1AAAAACA8uh4AAAAAhEfXAwAAAIDw6HoAAAAAE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