|
After going through single node install steps from the documentation there are a few problems left. Specifically the admin UI gives alerts that TaskTracker and NFS services fail to start and HBase connection fails too. Here is the error readout from the relevant logs - ============================================= sun.cpu.endian: little
hadoop.policy.file: hadoop-policy.xml
sun.cpu.isalist:
------------------------------------------------------------*/
2012-03-04 21:51:33,763 INFO org.apache.hadoop.mapred.TaskTracker: /tmp is tmpfs. Java Hotspot Instrumentation will be enabled by default 2012-03-04 21:51:33,940 INFO org.apache.hadoop.mapred.TaskTracker: SHUTDOWN_MSG: ============================================= 2012-03-05 01:44:26,1514 INFO nfsserver[13470] fs/nfsd/mount.cc:1968 Export info: /mapr (rw) ============================================= HBase Shell; enter 'help<return>' for list of supported commands. Type "exit<return>" to leave the HBase Shell Version 0.90.4, rUnknown, Wed Nov 9 17:35:00 PST 2011 hbase(main):001:0> create 'weblog', 'stats' ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null Here is some help for this command: Create table; pass table name, a dictionary of specifications per column family, and optionally a dictionary of table configuration. Dictionaries are described below in the GENERAL NOTES section. Examples: hbase> create 't1', {NAME => 'f1', VERSIONS => 5} hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'} hbase> # The above in shorthand would be the following: hbase> create 't1', 'f1', 'f2', 'f3' hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE => true} ============================================= What could be causing these problems? |
|
For taskcontroller permissions, check this file /opt/mapr/hadoop/hadoop-0.20.2/bin/Linux-amd64-64/bin I think you might have done a top level permission reset for the mapr folder.The default permission on this file is 4754
The hbase error is because its not able to find the hbase master. Check the status of hbase-master on the node where you have assigned the role. The whole /opt/mapr directory has 755 permission, including taskcontroller binary. What else could be causing the problem? How do I check the status of hbase-master? I tried "service hbase-master status" and it says service unrecognized. I believe I did install everything with yum "yum install mapr*". Am I missing something?
(05 Mar '12, 02:43)
tc_dev
The particular file should NOT have 755. The error says The task-controller binary should not have write or execute for others. So it should be RO for others. For hbase status,this command should help maprcli node list -columns service For further troubleshooting, look at the logs in /opt/mapr/hbase/hbase-<version>/logs
(05 Mar '12, 03:03)
Nabeel ♦♦
I spoke too soon, TaskTracker still fails with this message (createTTVolume.log) - ERROR (22) - Unable to map host: HOSTNAME to non-local ipaddress while creating volume mapr.HOSTNAME.local.mapred What is causing this IP address problem and how to fix it?
(06 Mar '12, 04:00)
tc_dev
Most likely you have your hostname mapped to a 127.0.0.1 ip. Add the other non-127 ip in /etc/hosts and try again.
(06 Mar '12, 04:02)
Nabeel ♦♦
After fixing the hostname here is the new error - ERROR (22) - FileServer HOSTNAME:5660 has not registered with CLDB What could be causing this?
(06 Mar '12, 11:48)
tc_dev
Check the mfs.log and mfs.err on the node. Also look for FSRegister in the cldb.log and see if there are attempts from the fileserver to register in the CLDB.
(06 Mar '12, 23:51)
Nabeel ♦♦
Thanks. The problem was an error in our hosts file...
(07 Mar '12, 01:51)
tc_dev
Good to know. Pls accept" the appropriate answer to your original question to make it easy for those who reach this page in similar circumstances.
(07 Mar '12, 01:56)
Nabeel ♦♦
How do I "accept" it? Never used this system before...
(07 Mar '12, 11:36)
tc_dev
showing 5 of 10
show all
|
|
To get NFS, get a license from here: http://mapr.com/doc/display/MapR/Getting+a+License Thanks, I got it!
(06 Mar '12, 03:55)
tc_dev
|
|
To run NFS, please get a license by registering (NFS is free, only registration needed). Where do I register / how do I apply this license? I did not see this info in the single-node install doc
(05 Mar '12, 10:55)
tc_dev
|