[ 
https://issues.apache.org/jira/browse/SPARK-13776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15191330#comment-15191330
 ] 

Erik O'Shaughnessy commented on SPARK-13776:
--------------------------------------------

Looks good. Here is the log without a conf/spark-default.conf file:

{quote}
Spark Command: /usr/java/bin/java -cp 
/home/eoshaugh/local/spark/conf/:/home/eoshaugh/local/spark/assembly/target/scala-2.11/spark-assembly-2.0.0-SNAPSHOT-hadoop2.2.0.jar:/home/eoshaugh/local/spark/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar:/home/eoshaugh/local/spark/lib_managed/jars/datanucleus-core-3.2.10.jar:/home/eoshaugh/local/spark/lib_managed/jars/datanucleus-rdbms-3.2.9.jar
 -Xms1g -Xmx1g org.apache.spark.deploy.master.Master --ip t5-8-003 --port 7077 
--webui-port 8080
========================================
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
16/03/11 10:18:33 INFO Master: Started daemon with process name: 114940@t5-8-003
16/03/11 10:18:33 INFO Master: Registered signal handlers for [TERM, HUP, INT]
16/03/11 10:18:33 WARN NativeCodeLoader: Unable to load native-hadoop library 
for your platform... using builtin-java classes where applicable
16/03/11 10:18:33 INFO SecurityManager: Changing view acls to: eoshaugh
16/03/11 10:18:33 INFO SecurityManager: Changing modify acls to: eoshaugh
16/03/11 10:18:33 INFO SecurityManager: SecurityManager: authentication 
disabled; ui acls disabled; users with view permissions: Set(eoshaugh); users 
with modify permissions: Set(eoshaugh)
16/03/11 10:18:34 INFO Utils: Successfully started service 'sparkMaster' on 
port 7077.
16/03/11 10:18:34 INFO Master: Starting Spark master at spark://t5-8-003:7077
16/03/11 10:18:34 INFO Master: Running Spark version 2.0.0-SNAPSHOT
16/03/11 10:18:34 INFO Utils: Successfully started service 'MasterUI' on port 
8080.
16/03/11 10:18:34 INFO MasterWebUI: Bound MasterWebUI to 0.0.0.0, and started 
at http://10.137.232.160:8080
16/03/11 10:18:34 WARN AbstractConnector: insufficient threads configured for 
SelectChannelConnector@t5-8-003:6066
16/03/11 10:18:34 INFO Utils: Successfully started service on port 6066.
16/03/11 10:18:34 INFO StandaloneRestServer: Started REST server for submitting 
applications on port 6066
16/03/11 10:18:35 INFO Master: I have been elected leader! New state: ALIVE
{quote}

> Web UI is not available after ./sbin/start-master.sh
> ----------------------------------------------------
>
>                 Key: SPARK-13776
>                 URL: https://issues.apache.org/jira/browse/SPARK-13776
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 1.6.0
>         Environment: Solaris 11.3, Oracle SPARC T-5 8 with 1024 hardware 
> threads
>            Reporter: Erik O'Shaughnessy
>            Priority: Minor
>
> The Apache Spark Web UI fails to become available after starting a Spark 
> master in stand-alone mode:
> $ ./sbin/start-master.sh
> The log file contains the following:
> {quote}
> cat spark-hadoop-org.apache.spark.deploy.master.Master-1-t5-8-002.out
> Spark Command: /usr/java/bin/java -cp 
> /usr/local/spark-1.6.0_nohadoop/conf/:/usr/local/spark-1.6.0_nohadoop/assembly/target/scala-2.10/spark-assembly-1.6.0-hadoop2.2.0.jar:/usr/local/spark-1.6.0_nohadoop/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar:/usr/local/spark-1.6.0_nohadoop/lib_managed/jars/datanucleus-rdbms-3.2.9.jar:/usr/local/spark-1.6.0_nohadoop/lib_managed/jars/datanucleus-core-3.2.10.jar
>  -Xms1g -Xmx1g org.apache.spark.deploy.master.Master --ip t5-8-002 --port 
> 7077 --webui-port 8080
> ========================================
> 16/01/27 12:00:42 WARN AbstractConnector: insufficient threads configured for 
> SelectChannelConnector@0.0.0.0:8080
> 16/01/27 12:00:42 WARN AbstractConnector: insufficient threads configured for 
> SelectChannelConnector@t5-8-002:6066
> {quote}
> I did some poking around and it seems that message is coming from Jetty and 
> indicates a mismatch between Jetty's default maxThreads configuration and the 
> actual number of CPUs available on the hardware (1024). I was not able to 
> find a way to successfully change Jetty's configuration at run-time. 
> Our work around was to disable CPUs until the WARN messages did not occur in 
> the log file, which was when NCPUs = 504. 
> I don't know for certain that this is isn't a known problem in Jetty from 
> looking at their bug reports, but I wasn't able to locate a Jetty issue that 
> described this problem.
> While not specifically an Apache Spark problem, I thought documenting it 
> would at least be helpful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to