메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


spark spark notebook 0.7.0설치및 설정

총관리자 2016.11.14 10:51 조회 수 : 160

*참고 : http://sungsoo.github.io/2015/04/24/sparknotebook.html

1. spark-notebook.io에서 다운로드 받아 압축을 푼다.
(Build: |  buildTime-Mon Oct 31 17:22:51 UTC 2016 | formattedShaVersion-0.7.0-c955e71d0204599035f603109527e679aa3bd570 | sbtVersion-0.13.8 | scalaVersion-2.11.8 | sparkNotebookVersion-0.7.0 | hadoopVersion-2.7.2 | jets3tVersion-0.7.1 | jlineDef-(jline,2.12) | sparkVersion-2.0.1 | withHive-true |.)

2. conf/밑에 있는 profiles을 아래와 같이 수정해준다.
(spark가 설치되어 있고 spark의 standalone모드로 사용하는 경우임)

3. ./bin/spark-notebook을 띄워준다.
4. http://localhost:9001로 접근하여 사용한다.

----------------------profiles
-bash-4.1$ vi profiles
{
  "local" : {
    "id" : "local",
    "name" : "Local",
    "template" : {
      "customLocalRepo" : null,
      "customRepos" : null,
      "customDeps" : null,
      "customImports" : null,
      "customSparkConf" : {
        "spark.app.name" : "Notebook",
        "spark.master" : "local[8]",
        "spark.executor.memory" : "1G"
      }
    }
  },
  "standalone" : {
    "id" : "standalone",
    "name" : "Standalone",
    "template" : {
      "customLocalRepo" : null,
      "customRepos" : null,
      "customDeps" : null,
      "customImports" : null,
      "customSparkConf" : {
        "spark.app.name" : "Notebook",
        "spark.master" : "spark://sda1:7077,sda2:7077",
        "spark.executor.memory" : "5G"
      }
    }
  },
  "mesos" : {
    "id" : "mesos",
    "name" : "Mesos",
    "template" : {
      "customLocalRepo" : null,
      "customRepos" : null,
      "customDeps" : null,
      "customImports" : null,
"profiles" 66L, 1712C                                                                                                                                                                                         1,1        꼭대기
{
  "local" : {
    "id" : "local",
    "name" : "Local",
    "template" : {
      "customLocalRepo" : null,
      "customRepos" : null,
      "customDeps" : null,
      "customImports" : null,
      "customSparkConf" : {
        "spark.app.name" : "Notebook",
        "spark.master" : "local[8]",
        "spark.executor.memory" : "1G"
      }
    }
  },
  "standalone" : {
    "id" : "standalone",
    "name" : "Standalone",
    "template" : {
      "customLocalRepo" : null,
      "customRepos" : null,
      "customDeps" : null,
      "customImports" : null,
      "customSparkConf" : {
        "spark.app.name" : "Notebook",
        "spark.master" : "spark://sda1:7077,sda2:7077",
        "spark.executor.memory" : "5G"
      }
    }
  },
  "mesos" : {
    "id" : "mesos",
    "name" : "Mesos",
    "template" : {
      "customLocalRepo" : null,
      "customRepos" : null,
      "customDeps" : null,
      "customImports" : null,
      "customSparkConf" : {
        "spark.app.name" : "Notebook",
        "spark.master" : "mesos://<master>:<port>",
        "spark.executor.memory" : "512m",
        "spark.executor.uri" : "hdfs://<spark>.tgz",
        "spark.driver.host" : "<host>",
        "spark.local.dir" : "<path>"
      }
    }
  },
  "yarn" : {
      "id" : "yarn-client",
                                                                                                                     
번호 제목 글쓴이 날짜 조회 수
441 format된 namenode를 다른 서버에서 다시 format했을때 오류내용 총관리자 2016.09.22 160
440 운영중인 상태에서 kafka topic삭제하고 재생성하여 처리되지 않은 메세지 모두 삭제하기 총관리자 2016.10.24 160
» spark notebook 0.7.0설치및 설정 총관리자 2016.11.14 160
438 cloudera의 hue에서 사용자가 사용한 쿼리 목록 총관리자 2020.02.07 160
437 RDF4J의 RESTFul API처리 클래스 소스 파악(web module위주) 총관리자 2017.08.30 161
436 hbase CustomFilter만들기 (0.98.X이상) 총관리자 2015.05.08 162
435 sparql에서 concat에제 총관리자 2015.11.27 162
434 HAX is not working and emulator runs in emulation mode 메세지가 나오는 경우 file 총관리자 2015.05.25 163
433 missing block및 관련 파일명 찾는 명령어 총관리자 2021.02.20 163
432 fuseki webUI를 통해서 전체 카운트를 하면 급격하게 메모리를 소모해 버리는 문제가 있음 file 총관리자 2017.04.28 164
431 JAVA_HOME을 명시적으로 지정하는 방법 총관리자 2018.06.04 166
430 CDH 5.4.4 버전에서 hive on tez (0.7.0)설치하기 총관리자 2016.01.14 167
429 null 혹은 ""를 체크하는 방법 총관리자 2016.01.27 167
428 spark submit용 jar파일을 만드는 sbt 용 build.sbt설정 파일(참고용) 총관리자 2016.08.19 167
427 대표 오픈소스 라이선스, 한 눈에 보기! 총관리자 2015.12.10 168
426 spark2.0.0에서 hive 2.0.1 table을 읽어 출력하는 예제 소스(HiveContext, SparkSession, SQLContext) 총관리자 2017.03.09 168
425 센서테스트 file 총관리자 2015.05.25 170
424 Embedded PostgreSql설정을 외부의 MariaDB로변경하기 [1] 총관리자 2018.05.22 171
423 javax.net.ssl.SSLHanshakeException: SSLHandshakeException invoking https://mainCluster.gooper.com:7183/api/v1/users: sun.security.validator.ValidatorException: No trusted certificate found gooper 2022.06.29 172
422 solrdf초기 기동시 "Caused by: java.lang.IllegalAccessError: tried to access field org.apache.solr.handler.RequestHandlerBase.log from class org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler" 오류가 발생시 조치사항 총관리자 2016.04.22 173

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로