Import and Read csv using pyspark in Sagemaker Studio - JAVA_HOME is not set PySparkRuntimeError

0

I am getting java runtime error when I try to import and Read csv in S3 using pyspark in Sagemaker Studio. Can anyone help ?

https://github.com/rog-SARTHAK/AWS-Sagemaker-Studio/blob/main/Crime.ipynb

Sarthak
質問済み 7ヶ月前311ビュー
1回答
0

Hi Sarthak,

Kindly use a lifecycle configuration script as detailed at - https://aws.amazon.com/blogs/machine-learning/customize-amazon-sagemaker-studio-using-lifecycle-configurations/

Sample script below for reference -

#!/bin/bash

set -e

sudo yum -y update sudo yum -y install java-1.8.0-openjdk-devel

Kindly know if this helps.

AWS
回答済み 7ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ