Reason:
Running the spark code with the root user
Workaround: Run spark with a non-administrator account
[[Email protected] Bin]$./Add-User.ShWhatType of userDoYou wish to add?A) Management User (Mgmt-Users.Properties)B) Application User (Application-Users.Properties)(A):BEnterThe details of theNewUser to add.Realm (Applicationrealm) : Applicationrealm ---->> Careful Here . YouNeed to typeThisor leave it blank.I filled an incorrect value here and things went wrong from there.Username :TestUserPassword :TestpasswordRe-EnterPassword :TestpasswordWhatRolesDoYou wantThisUser to belong to? (PleaseEnter a comma separated list,or leave blankForNone) :TestRoleAboutTo add user' TestUser ' ForRealm' Applicationrealm 'Is ThisCorrect Yes/No?YesAddedUser' TestUser 'To file'/home/userone/jboss-as-7.1.0.final/standalone/configuration/application-users.properties 'added user ' testuser ' '/home/userone/jboss-as-7.1.0.final/domain/configuration/application-users.properties ' added user ' testuser ' /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 '
Spark is stuck in spark context, running the spark Exception encountered while connecting to the Server:javax.security.sasl.SaslExcepti On