在Google Colab中发送其端口号之前退出Java网关进程

时间:2018-09-12 17:39:04

标签: python apache pyspark ipython google-colaboratory

<script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.5.2/vue.min.js"></script>
<!-- CDNJS :: Sortable (https://cdnjs.com/) -->
<script src="//cdn.jsdelivr.net/npm/sortablejs@1.7.0/Sortable.min.js"></script>
<!-- CDNJS :: Vue.Draggable (https://cdnjs.com/) -->
<script src="//cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.15.0/vuedraggable.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.10/lodash.min.js"></script>

<div class="container-fluid" id="app">

  <div class="list-search-item horizontally fitted item">
    <label for="selectGroup">Group</label>
    <select name="selectGroup" id="selectGroup" v-model="filterJobGroup">
                <option value="" selected> --- </option>
                <option v-for="item in listJobGroup" :key="item" :value="item.name" > {{ item.name }} </option>
              </select>
  </div>
  <div class="container-fluid machine-contents">

    <draggable v-model="jobs">
      <div v-for="(item, index) in jobsFiltered" :key="item.jobNumber" class="list-complete-item">
        <div>
          {{ item.jobNumber }}
        </div>
      </div>
    </draggable>

  </div>

</div>

我对此有误

from pyspark.sql import SparkSession
from pyspark.ml.feature import Word2Vec
spark = SparkSession.builder.appName("Bigram").getOrCreate()

我已经按照this medium blog

重新安装了java,重新安装了pyspark

我已经在我的ipnb google-colab中关注this stackoverflow并与其相关,但无法解决该问题。请帮忙!

0 个答案:

没有答案