Spark card in spark context, running appears spark Exception encountered while connecting to the Server:javax.security.sasl.SaslException

Source: Internet
Author: User
Tags jboss

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.