copyFromLocal takes ages to complete

hdfs

#1

Hi,

My copyFromLocal command doesnt complete even after an hour

[subratagayan@gw03 ~]$ hadoop fs -copyFromLocal /data/crime /user/subratagayan/.

…keeps running


#2

It completed now. But when I go to ambari i am not able to preview the contents of file. I get error

  Unauthorized connection for super-user: root from IP 172.16.1.102

#3

For crime data it will take time. From the ambari preview, we are looking into that issue. Meanwhile, you can use hadoop fs -cat command to preview data from the command line.