Uploaded image for project: 'Livy (READ-ONLY)'
  1. Livy (READ-ONLY)
  2. LIVY-258

Local mode doesn't work in security cluster

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.3
    • Fix Version/s: None
    • Component/s: REPL
    • Labels:
      None

      Description

      16/11/29 07:53:24 INFO ContextLauncher: 16/11/29 07:53:24 INFO SecurityManager: Changing view acls to: root,admin
      16/11/29 07:53:24 INFO ContextLauncher: 16/11/29 07:53:24 INFO SecurityManager: Changing modify acls to: root,admin
      16/11/29 07:53:24 WARN RSCClient: Client RPC channel closed unexpectedly.
      16/11/29 07:53:24 INFO ContextLauncher: Exception in thread "main" java.lang.IllegalArgumentException: Error: a secret key must be specified via the spark.authenticate.secret config
      16/11/29 07:53:24 INFO ContextLauncher:         at org.apache.spark.SecurityManager.generateSecretKey(SecurityManager.scala:397)
      16/11/29 07:53:24 INFO ContextLauncher:         at org.apache.spark.SecurityManager.<init>(SecurityManager.scala:219)
      16/11/29 07:53:24 INFO ContextLauncher:         at org.apache.spark.repl.SparkIMain.<init>(SparkIMain.scala:118)
      16/11/29 07:53:24 INFO ContextLauncher:         at com.cloudera.livy.repl.SparkInterpreter.start(SparkInterpreter.scala:49)
      16/11/29 07:53:24 INFO ContextLauncher:         at com.cloudera.livy.repl.Session$$anonfun$1.apply(Session.scala:66)
      16/11/29 07:53:24 INFO ContextLauncher:         at com.cloudera.livy.repl.Session$$anonfun$1.apply(Session.scala:64)
      16/11/29 07:53:24 INFO ContextLauncher:         at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
      16/11/29 07:53:24 INFO ContextLauncher:         at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
      16/11/29 07:53:24 WARN RSCClient: Error stopping RPC.
      io.netty.util.concurrent.BlockingOperationException: DefaultChannelPromise@544e6f7(uncancellable)
              at io.netty.util.concurrent.DefaultPromise.checkDeadLock(DefaultPromise.java:390)
              at io.netty.channel.DefaultChannelPromise.checkDeadLock(DefaultChannelPromise.java:157)
              at io.netty.util.concurrent.DefaultPromise.await(DefaultPromise.java:251)
      

        Attachments

          Activity

            People

            • Assignee:
              zjffdu zjffdu
              Reporter:
              zjffdu zjffdu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: