1 不检查用户权限

修改conf/core-site.xml,不检查权限 将 dfs.permissions属性修改为false




2 修改用户权限

这种方法文雅了很多,而且更加安全。我们观察hadoop hdfs中的文件发现了这样的现象,所有的文件都是由一个叫做supergroup的用户组上传的,于是如果将windows的用户也放到这个组里面 或许就能够搞定了



[plain] view plaincopy在CODE上查看代码片派生到我的代码片

  1. sudo  groupadd  supergroup


[plain] view plaincopy在CODE上查看代码片派生到我的代码片

  1. sudo  useradd -g supergroup -N -r Chang



8 Responses so far.

  1. quest bars says:
    Its not my first time to pay a quick visit this
    web site, i am visiting this website dailly and take fastidious
    data from here daily.
    • Bertha says:
      Hello, is your web host having any prbeolms lately? I had to refresh the web page about ten times till the 404 error went away and I was able to look at this post!
  2. quest bars says:
    Hi, everything is going perfectly here and ofcourse every
    one is sharing facts, that’s really good, keep up
  3. quest bars says:
    Hello my friend! I want to say that this post is amazing,
    great written and include approximately all vital infos.
    I would like to see more posts like this .
    • Dell says:
      Hell, I’m happy Favre is skipping out on training camp to mow his lawn, shot that pesky armadillo, play games with the media and throw passes to teerigens.Meanwhale, Rodgers has been to all of the OTA’s and is in camp, watching film, working on his line calls, and developing timing with his receivers.Stay home Favre, you don’t need training camp!
  4. Ted Ragone says:
    I loved as much as you will receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get got an edginess over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly a lot often inside case you shield this hike.
  5. Jeannie says:
    I have a Samsung Galaxy Tab 10.1 and would love it if Samsung would get on with the job of getting ICS out to this device. I do3;#0n9&t want to have to root the silly thing!