`
sillycat
  • 浏览: 2539620 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Prediction(5)Cluster Trouble Shooting

 
阅读更多
Prediction(5)Cluster Trouble Shooting

Face to some issue on local zeppelin with spark 1.5.0, zeppelin 0.6.0, hadoop 2.7.1.
It may be memory issue. But it does not help I configure the zeppelin as follow:
export MASTER="yarn-client"
export HADOOP_CONF_DIR="/opt/hadoop/etc/hadoop/"

export SPARK_HOME="/opt/spark"
. ${SPARK_HOME}/conf/spark-env.sh
export ZEPPELIN_CLASSPATH="${SPARK_CLASSPATH}"
export ZEPPELIN_JAVA_OPTS="-Dspark.yarn.driver.memoryOverhead=512 -Dspark.yarn.executor.memoryOverhead=512 -Dspark.akka.frameSize=100 -Dspark.executor.instances=2 -Dspark.driver.memory=3g -Dspark.storage.memoryFraction=0.7 -Dspark.core.connection.ack.wait.timeout=800 -Dspark.rdd.compress=true -Dspark.default.parallelism=18 -Dspark.executor.memory=3g"

Spark as follow:
export SPARK_DAEMON_JAVA_OPTS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:MaxHeapFreeRatio=70"
export HADOOP_CONF_DIR="/opt/hadoop/etc/hadoop"
#export SPARK_WORKER_MEMORY=1024m
#export SPARK_JAVA_OPTS="-Dbuild.env=lmm.sparkvm"
export USER=carl

Install phantomjs
> sudo apt-get install phantomjs

Build Zeppelin Again
> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0 -Dhadoop.version=2.7.1 -Phadoop-2.6 -Pyarn -DskipTests

I just set up ubuntu-pilot to run the zeppelin and spark. ubuntu-master and ubuntu-dev1, ubuntu-dev2 will be the yarn cluster. Everything works fine now.

References:
http://machinelearningmastery.com/non-linear-classification-in-r-with-decision-trees/
分享到:
评论

相关推荐

    Exp_EMA_Prediction - MetaTrader 5EA.zip

    《基于MetaTrader 5的Exp_EMA_Prediction EA详解》 在外汇交易的世界中,自动交易系统(Expert Advisors,简称EAs)扮演着至关重要的角色。本文将深入探讨一个名为"Exp_EMA_Prediction"的MetaTrader 5 EA,它基于...

    prediction io

    5. **RESTful API**:API服务器提供了RESTful接口,使得其他应用可以方便地与Prediction IO 交互,进行数据导入、模型训练、预测请求等操作。 6. **可扩展性与插件系统**:Prediction IO 的设计允许开发者编写...

    EMA_Prediction_HTF_Signal - MetaTrader 5脚本.zip

    《MetaTrader 5脚本——EMA_Prediction_HTF_Signal 深度解析》 在金融交易领域,技术分析工具对于投资者来说至关重要,而MetaTrader 5交易平台因其丰富的功能和自定义指标能力,深受广大交易者的青睐。本文将详细...

    cnn-bilstm-attention-time-series-prediction_keras-master

    cnn-bilstm-attention-time-series-prediction_keras-mastercnn-bilstm-attention-time-series-prediction_keras-mastercnn-bilstm-attention-time-series-prediction_keras-mastercnn-bilstm-attention-time-series...

    Branch Prediction For Free

    ### 分支预测技术详解:《Branch Prediction For Free》 #### 一、背景与意义 在计算机体系结构中,分支预测是一种优化技术,旨在通过减少CPU因等待指令分支结果而产生的延迟来提高程序执行效率。传统的分支预测...

    EMA Prediction - MetaTrader 4脚本.zip

    这个"EMA Prediction - MetaTrader 4脚本.zip"文件包含了一个名为"EMA_Prediction.mq4"的脚本,这是专门为MT4平台设计的,用于实现基于指数移动平均线的预测功能。 指数移动平均线(EMA)是一种加权平均计算方式,它...

    ad-click-prediction

    ad-click-prediction

    LinkPrediction.rar_link prediction_prediction_链路预测 python_链路预测;p

    链路预测是网络分析中的一个重要领域,主要目的是预测在给定网络中可能存在的尚未被发现的连接。在社交网络、生物网络、互联网等复杂系统中,这种预测有助于理解和揭示网络结构的发展规律。在这个名为...

    lpc2.zip_linear prediction_lpc2_zip

    Linear prediction coding

    CNN-Prediction-Based-Reversible-Data-Hiding-main (1).zip

    CNN-Prediction-Based-Reversible-Data-Hiding-main CNN-Prediction-Based-Reversible-Data-Hiding-main CNN-Prediction-Based-Reversible-Data-Hiding-main CNN-Prediction-Based-Reversible-Data-Hiding-main

    EMA_Prediction - MetaTrader 5脚本.zip

    **EMA_Prediction - MetaTrader 5 脚本** MetaTrader 5 是一款流行的外汇交易和分析平台,由MetaQuotes Software Corp开发。这个平台允许用户进行自动化交易、技术分析以及算法交易,其中就包括使用自定义脚本来...

    Application of improved Grey prediction model for settlement prediction of roadbed

    Application of improved Grey prediction model for settlement prediction of roadbed,谢正文,胡汉华,An improved Grey-based settlement predictor is promoted. Adopt Grey prediction as a forecasting ...

    Handbook217Plus Reliability Prediction Models.pdf

    reliability prediction models, which form the basis of PRISM ® , were not made available in printed form. As such, a user of the software tool could not see the exact equations that comprised the ...

    Prediction_RBF_nan.zip

    5. **参数调优**:模型的性能很大程度上取决于核函数参数(如γ)和正则化参数C的选择。常用的方法有网格搜索(Grid Search)和随机搜索(Random Search)。 6. **预测**:训练完成后,使用RBF-SVM模型对新数据进行...

    Causation, Prediction, and Search

    ##### 5. 预测(Prediction) 本章专注于如何利用已知的因果关系来进行预测,特别关注了如何处理不确定性和复杂系统中的预测问题。 ##### 6. 回归、因果关系与预测(Regression, Causation, and Prediction) 这...

    Deep Learning Networks for Stock Market Analysis and Prediction

    and prediction. Its ability to extract features from a large set of raw data without relying on prior knowledge of predictors makes deep learning potentially attractive for stock market prediction at ...

    prediction_train.zip

    本文将深入探讨"prediction_train.zip"压缩包文件,它包含了Apolloscapes数据集的轨迹预测训练部分,是学习和开发轨迹预测算法的重要资源。 首先,Apolloscapes是一个由清华大学和百度公司联合推出的多模态自动驾驶...

    TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head

    这一创新引入了Transformer Prediction Heads(TPH),通过自我注意力机制来挖掘预测潜力。Transformer结构在自然语言处理领域已经证明了其强大的序列建模能力,这里被应用于视觉任务中,以提升模型对不同尺度对象的...

Global site tag (gtag.js) - Google Analytics