原因:

使用root用户运行spark代码

解决方法:使用非管理员账户运行spark即可

[userone@localhost bin]$ ./add-user.sh

What type of user do you wish to add?

a) Management User (mgmt-users.properties)

b) Application User (application-users.properties)

(a): b

Enter the details of the new user to add.

Realm (ApplicationRealm) :  ApplicationRealm ---->> Careful Here . You need to type this or leave it blank . I filled an incorrect value here and things went wrong from there .

Username : testuser

Password : testpassword

Re-enter Password : testpassword

What roles do you want this user to belong to? (Please enter a comma separated list, or leave blank for none) : testrole

About to add user 'testuser' for realm 'ApplicationRealm'

Is this correct yes/no? yes

Added user 'testuser' to file '/home/userone/jboss-as-7.1.0.Final/standalone/configuration/application-users.properties'

Added user 'testuser' to file '/home/userone/jboss-as-7.1.0.Final/domain/configuration/application-users.properties'

Added user 'testuser' with roles testrole to file '/home/userone/jboss-as-7.1.0.Final/standalone/configuration/application-roles.properties'

Added user 'testuser' with roles testrole to file '/home/userone/jboss-as-7.1.0.Final/domain/configuration/application-roles.properties'

.

最新文章

  1. 最好的vim教程莫过于vimtutor
  2. http statusCode(状态码)
  3. Ubuntu14.04安装MySQL-python异常: mysql_config: not found,Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-MJWMPd/MySQL-python/
  4. Javascript函数、构造函数、原型、类和对象
  5. Angularjs学习---angularjs环境搭建,ubuntu 12.04下安装nodejs、npm和karma
  6. requireJS 用法
  7. Nde模块篇
  8. [BZOJ 1297][SCOI 2009]迷路(矩阵快速幂)
  9. 阿里巴巴2013年实习生笔试题B
  10. 邻结矩阵的建立和 BFS,DFS;;
  11. 飘逸的python - 理解打开文件的模式
  12. Ubuntu--有关VMware Tools安装问题
  13. powder designer 转数据库
  14. 标准IO库
  15. 高效测试用例组织算法pairwise之Python实现
  16. flask-login使用笔记
  17. HTML5 Video player jQuery plugin
  18. 识别拖动与点击操作之zepto的bug
  19. 【VBA】セールの値は配列に変換方法
  20. 《web前端设计基础——HTML5、CSS3、JavaScript》 张树明版 简答题简单整理

热门文章

  1. 数据库联表统计查询 Group by & INNER JOIN
  2. LeetCode——Copy List with Random Pointer
  3. (转)C/C++ 宏详解
  4. nyoj--891--找点(贪心)
  5. 大量文件时使用ls
  6. POJ 3299 模拟
  7. 三个获取浏览器URL中参数值的方法
  8. JOSN快速入门
  9. 解决maven 无法下载java-memcached的依赖问题
  10. SpringCloud学习笔记(13)----Spring Cloud Netflix之Hystrix断路器的隔离策略