도커에 우분투 :https://hermeslog.tistory.com/498
-> 우분투에 java 설치
apt install openjdk-11-jdk
-> 우분투에 wget 설치
apt install wget
-> 우분투에 ssh 설치
apt install ssh
spark.conf.set("spark.sql.catalog.spark_catalog", "org.apache.iceberg.spark.SparkSessionCatalog")
spark.conf.set("spark.sql.catalog.spark_catalog.type", "hive")
spark.conf.set("spark.sql.catalog.local", "org.apache.iceberg.spark.SparkCatalog")
spark.conf.set("spark.sql.catalog.local.type", "hadoop")
spark.conf.set("spark.sql.catalog.local.warehouse", "data/warehouse")
에러
ssh: connect to host localhost port 22: Cannot assign requested address
apt install -y openssh-server
/etc/init.d/ssh start
root@localhost's password: localhost: Permission denied, please try again.
cd ~/.ssh
ssh-keygen
하고 엔터계속cat id_rsa.pub >> authorized_keys
chmod 640 authorized_keys
service ssh restart
ssh localhost
start-master.sh bash: start-master.sh: command not found
apt install ssh
를 했음에도 불구하고 계속 뜰 경우,scala -version
한번 쳐보고 하면 동작된다..?