Quantcast
Channel: Hortonworks » All Topics
Viewing all articles
Browse latest Browse all 5121

HDP2 Windows Add User to Hadoop

$
0
0

Replies: 0

Hi,

I am installing HDP 2.0 for Windows as my first attempt at a Hadoop stand alone environment! I have successfully gone through the install, and I am now running the Smoke Test command file.

The smoke test is running under my username “mworkman” and is failing because Hadoop is expecting the user “hadoop” :) So, my question is how do I add my username as a valid user in the Hadoop eco system?

From the log files I can see these commands start:

hadoop-namenode.log

2014-01-27 09:32:00,261 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user mworkman
2014-01-27 09:32:00,294 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* allocateBlock: /user/mworkman/hadoop-139081511681791._COPYING_. BP-265433645-10.192.100.185-1390429513502 blk_1073741845_1021{blockUCState=UNDER_CONSTRUCTION, primaryNodeIndex=-1, replicas=[ReplicaUnderConstruction[10.192.100.185:50010|RBW]]}

2014-01-27 09:32:12,925 ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:mworkman (auth:SIMPLE) cause:org.apache.hadoop.security.AccessControlException: Permission denied: user=mworkman, access=EXECUTE, inode=”/mapred”:hadoop:hdfs:drwxrwx—
2014-01-27 09:32:12,925 INFO org.apache.hadoop.ipc.Server: IPC Server handler 34 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.getFileInfo from 10.192.100.185:57860 Call#5 Retry#0: error: org.apache.hadoop.security.AccessControlException: Permission denied: user=mworkman, access=EXECUTE, inode=”/mapred”:hadoop:hdfs:drwxrwx—
2014-01-27 09:32:13,323 INFO org.apache.hadoop.ipc.Server: IPC Server listener on 8020: readAndProcess from client 10.192.100.185 threw exception
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
at org.apache.hadoop.ipc.Server.channelRead(Server.java:2602)
at org.apache.hadoop.ipc.Server.access$3200(Server.java:122)
at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1505)
at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:792)
at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:591)
at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:566)

If you could help point me in the right direction to add another user to have access to my hadoop system I would appreciate it!!

Thanks in advance!

Matt


Viewing all articles
Browse latest Browse all 5121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>