Hi,
Im sure this is just me but I have put a small index of 10k items into
hbase via lily. I hadn't defined a index at that point. Now I have and
want to test a full index into Solr 3.1 I am permissions errors.
I am running this command: sudo -u hdfs bin/lily-update-index -n
indexerPOC1 --build-state BUILD_REQUESTED (I have also tried su - hdfs
and run the command from there also)
then when I run bin/lily-list-indexes
I get this output
indexerPOC1
+ General state: ACTIVE
+ Update state: SUBSCRIBE_AND_LISTEN
+ Batch build state: INACTIVE
+ Queue subscription ID: IndexUpdater_indexerPOC1
+ Solr shards:
+ shard1:
http://192.168.56.1:8080/solr7/core0
+ Last batch build:
+ Hadoop Job ID: failed-1306788294793
+ Submitted at: 2011-05-30T21:44:54.803+01:00
+ Success: false
+ Job state: failed to start, check logs on ubuntu-dev-1
+ Tracking URL: null
+ Map input records: null
+ Launched map tasks: null
+ Failed map tasks: null
+ Index failures: null
The only log I can find with details is the lily-server log which says
Caused by: org.apache.hadoop.ipc.RemoteException:
org.apache.hadoop.security.AccessControlException: Permission denied:
user=root, access=WRITE, inode="":hdfs:supergroup:rwxr-xr-x
at
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:
203)
at
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:
184)
at
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:
132)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:
4976)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkAncestorAccess(FSNamesystem.java:
4950)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:
1971)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:
1940)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.mkdirs(NameNode.java:
770)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:557)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:
1415)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:
1411)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:
1115)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1409)
But I am running it as hdfs so am a little confused
Regards,
Dave