久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='nkxN9'></bdo><ul id='nkxN9'></ul>

  • <small id='nkxN9'></small><noframes id='nkxN9'>

    1. <tfoot id='nkxN9'></tfoot>
      1. <i id='nkxN9'><tr id='nkxN9'><dt id='nkxN9'><q id='nkxN9'><span id='nkxN9'><b id='nkxN9'><form id='nkxN9'><ins id='nkxN9'></ins><ul id='nkxN9'></ul><sub id='nkxN9'></sub></form><legend id='nkxN9'></legend><bdo id='nkxN9'><pre id='nkxN9'><center id='nkxN9'></center></pre></bdo></b><th id='nkxN9'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='nkxN9'><tfoot id='nkxN9'></tfoot><dl id='nkxN9'><fieldset id='nkxN9'></fieldset></dl></div>

        <legend id='nkxN9'><style id='nkxN9'><dir id='nkxN9'><q id='nkxN9'></q></dir></style></legend>

        Spark 安裝 - 錯誤:無法找到或加載主類 org.apache.

        Spark installation - Error: Could not find or load main class org.apache.spark.launcher.Main(Spark 安裝 - 錯誤:無法找到或加載主類 org.apache.spark.launcher.Main)

            <tbody id='ZftpJ'></tbody>

            <bdo id='ZftpJ'></bdo><ul id='ZftpJ'></ul>
          • <tfoot id='ZftpJ'></tfoot>

              <i id='ZftpJ'><tr id='ZftpJ'><dt id='ZftpJ'><q id='ZftpJ'><span id='ZftpJ'><b id='ZftpJ'><form id='ZftpJ'><ins id='ZftpJ'></ins><ul id='ZftpJ'></ul><sub id='ZftpJ'></sub></form><legend id='ZftpJ'></legend><bdo id='ZftpJ'><pre id='ZftpJ'><center id='ZftpJ'></center></pre></bdo></b><th id='ZftpJ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ZftpJ'><tfoot id='ZftpJ'></tfoot><dl id='ZftpJ'><fieldset id='ZftpJ'></fieldset></dl></div>

                  <small id='ZftpJ'></small><noframes id='ZftpJ'>

                  <legend id='ZftpJ'><style id='ZftpJ'><dir id='ZftpJ'><q id='ZftpJ'></q></dir></style></legend>
                • 本文介紹了Spark 安裝 - 錯誤:無法找到或加載主類 org.apache.spark.launcher.Main的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  安裝 spark 2.3 并在 .bashrc 中設置以下環境變量(使用 gitbash)

                  After spark installation 2.3 and setting the following env variables in .bashrc (using gitbash)

                  1. HADOOP_HOME

                  1. HADOOP_HOME

                  SPARK_HOME

                  PYSPARK_PYTHON

                  PYSPARK_PYTHON

                  JDK_HOME

                  執行 $SPARK_HOME/bin/spark-submit 顯示以下錯誤.

                  executing $SPARK_HOME/bin/spark-submit is displaying the following error.

                  錯誤:無法找到或加載主類 org.apache.spark.launcher.Main

                  Error: Could not find or load main class org.apache.spark.launcher.Main

                  我在 stackoverflow 和其他網站上進行了一些研究檢查,但無法找出問題所在.

                  I did some research checking in stackoverflow and other sites, but could not figure out the problem.

                  執行環境

                  1. Windows 10 企業版
                  2. Spark 版本 - 2.3
                  3. Python 版本 - 3.6.4

                  你能提供一些指導嗎?

                  推薦答案

                  我收到了那個錯誤信息.它可能有幾個根本原因,但這是我調查和解決問題的方式(在 linux 上):

                  I had that error message. It probably may have several root causes but this how I investigated and solved the problem (on linux):

                  • 不要啟動 spark-submit,而是嘗試使用 bash -x spark-submit 來查看哪一行失敗.
                  • 多次執行該過程(因為 spark-submit 調用嵌套腳本),直到找到調用的底層過程:在我的情況下類似于:
                  • instead of launching spark-submit, try using bash -x spark-submit to see which line fails.
                  • do that process several times ( since spark-submit calls nested scripts ) until you find the underlying process called : in my case something like :

                  /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -cp '/opt/spark-2.2.0-bin-hadoop2.7/conf/:/opt/spark-2.2.0-bin-hadoop2.7/jars/*' -Xmx1g org.apache.spark.deploy.SparkSubmit --class org.apache.spark.repl.Main --name 'Spark shell' spark-shell

                  因此,spark-submit 啟動了一個 java 進程,但使用 /opt/spark-2.2.0-bin-hadoop2.7/中的文件找不到 org.apache.spark.launcher.Main 類jars/* (參見上面的 -cp 選項).我在這個 jars 文件夾中做了一個 ls 并計算了 4 個文件而不是整個 spark 分發(約 200 個文件).這可能是安裝過程中的一個問題.所以我重新安裝了 spark,檢查了 jar 文件夾,它就像一個魅力.

                  So, spark-submit launches a java process and can't find the org.apache.spark.launcher.Main class using the files in /opt/spark-2.2.0-bin-hadoop2.7/jars/* (see the -cp option above). I did an ls in this jars folder and counted 4 files instead of the whole spark distrib (~200 files). It was probably a problem during the installation process. So I reinstalled spark, checked the jar folder and it worked like a charm.

                  所以,你應該:

                  • 檢查 java 命令(cp 選項)
                  • 檢查您的 jars 文件夾(它至少包含所有 spark-*.jar 嗎?)

                  希望對你有幫助.

                  這篇關于Spark 安裝 - 錯誤:無法找到或加載主類 org.apache.spark.launcher.Main的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                      <tbody id='idnv1'></tbody>
                      <bdo id='idnv1'></bdo><ul id='idnv1'></ul>

                      1. <small id='idnv1'></small><noframes id='idnv1'>

                        <legend id='idnv1'><style id='idnv1'><dir id='idnv1'><q id='idnv1'></q></dir></style></legend>
                      2. <i id='idnv1'><tr id='idnv1'><dt id='idnv1'><q id='idnv1'><span id='idnv1'><b id='idnv1'><form id='idnv1'><ins id='idnv1'></ins><ul id='idnv1'></ul><sub id='idnv1'></sub></form><legend id='idnv1'></legend><bdo id='idnv1'><pre id='idnv1'><center id='idnv1'></center></pre></bdo></b><th id='idnv1'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='idnv1'><tfoot id='idnv1'></tfoot><dl id='idnv1'><fieldset id='idnv1'></fieldset></dl></div>

                          <tfoot id='idnv1'></tfoot>
                          • 主站蜘蛛池模板: 麻豆亚洲 | 91精品一区二区三区久久久久久 | 精精国产xxxx视频在线播放 | 久久丝袜| 黄网站涩免费蜜桃网站 | 亚洲欧美日韩久久 | 日本在线一二 | 美女黄网| 国产91丝袜在线播放 | 久艹网站 | 亚洲国产一区二区视频 | 国产一区二区三区在线看 | 免费视频久久久久 | 欧美精品一区二区三区四区 在线 | 日韩欧美二区 | 欧美一级在线 | av资源在线看 | 日韩电影免费在线观看中文字幕 | 操人网 | 日韩在线中文 | 精品久久久久久久久久久久久久 | 精品国产一区二区三区性色av | 欧美一区二区三区在线观看视频 | 日韩毛片在线免费观看 | 精品一区二区三区在线观看国产 | 天天操夜夜爽 | 雨宫琴音一区二区在线 | 国产美女精品 | 男女羞羞视频免费 | 小早川怜子xxxxaⅴ在线 | 黄色香蕉视频在线观看 | www.日本国产| 一级黄色片网站 | 国产高清精品一区二区三区 | 亚洲欧美日韩系列 | 国产视频一区二区三区四区五区 | cao在线| 精品久久久久久亚洲国产800 | 亚洲精品视频导航 | 亚洲一区二区三区视频免费观看 | 免费一区 |