小编Wil*_*lly的帖子

SPARQL可选查询

我在下面有乌龟格式的RDF

    @prefix ab: <http://learningsparql.com/ns/addressbook#> .
    @prefix d: <http://learningsparql.com/ns/data#> .
    d:i0432 ab:firstName "Richard" .
    d:i0432 ab:lastName "Mutt" .
    d:i0432 ab:homeTel "(229) 276-5135" .
    d:i0432 ab:nick "Dick" .
    d:i0432 ab:email "richard49@hotmail.com" .
    d:i9771 ab:firstName "Cindy" .
    d:i9771 ab:lastName "Marshall" .
    d:i9771 ab:homeTel "(245) 646-5488" .
    d:i9771 ab:email "cindym@gmail.com" .
    d:i8301 ab:firstName "Craig" .
    d:i8301 ab:lastName "Ellis" .
    d:i8301 ab:workTel "(245) 315-5486" .
    d:i8301 ab:email "craigellis@yahoo.com" .
    d:i8301 ab:email "c.ellis@usairwaysgroup.com" .
Run Code Online (Sandbox Code Playgroud)

而查询是

    PREFIX ab: <http://learningsparql.com/ns/addressbook#>
    SELECT ?first ?last
    WHERE
    {
    ?s ab:lastName ?last …
Run Code Online (Sandbox Code Playgroud)

sparql

7
推荐指数
2
解决办法
1587
查看次数

HBase错误:zookeeper.znode.parent不匹配

我正在尝试学习Hadoop,并且我已经在Hadoop权威指南中找到了HBase部分.我试图启动HBase并得到错误.有人可以给我一步一步的指导吗?

opel@ubuntu:~$ zkServer.sh start
JMX enabled by default
Using config: /home/opel/zookeeper-3.4.6/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
opel@ubuntu:~$ start-hbase.sh 
starting master, logging to /home/opel/hbase-0.94.20/logs/hbase-opel-master-ubuntu.out
opel@ubuntu:~$ hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.20, r09c60d770f2869ca315910ba0f9a5ee9797b1edc, Fri May 23 22:00:41 PDT 2014

hbase(main):001:0> status
14/06/02 22:40:44 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
14/06/02 22:40:45 ERROR client.HConnectionManager$HConnectionImplementation: Check the …
Run Code Online (Sandbox Code Playgroud)

hadoop hbase

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

hadoop ×1

hbase ×1

sparql ×1