I'm probably missing something but..
I have a V100 connected to 24 cpu cores (a K8 POD) and try to run the following configuration, which I thought would use 5 CPU cores per task, running four concurrent streams:
$SPARK_HOME/bin/spark-shell --master "local[*]" --driver-memory 50g --conf spark.locality.wait=0s --conf spark.sql.files.maxPartitionBytes=2048m --conf spark.hadoop.parquet.writer.max-padding=0 --conf spark.hadoop.parquet.block.size=268435456 --conf spark.hadoop.parquet.enable.statistics=false --conf spark.rapids.memory.pinnedPool.size=30G --conf spark.plugins=com.nvidia.spark.SQLPlugin --jars ${SPARK_CUDF_JAR},${SPARK_RAPIDS_PLUGIN_JAR} --conf spark.rapids.sql.concurrentGpuTasks=4 --conf spark.executor.cores=20 --conf spark.executor.resource.gpu.amount=1 --conf spark.task.resource.gpu.amount=0.25 --conf spark.task.cpus=5
However when I try to run the following command, it just hangs (without the amount/task.cpus etc, it runs just fine):
scala> val df = spark.read.parquet("hdfs://test/BigFile-1") [Stage 0:> (0 + 0) / 1]
Note the 0+0 setting.
Thanks.
I'm probably missing something but..
I have a V100 connected to 24 cpu cores (a K8 POD) and try to run the following configuration, which I thought would use 5 CPU cores per task, running four concurrent streams:
$SPARK_HOME/bin/spark-shell --master "local[*]" --driver-memory 50g --conf spark.locality.wait=0s --conf spark.sql.files.maxPartitionBytes=2048m --conf spark.hadoop.parquet.writer.max-padding=0 --conf spark.hadoop.parquet.block.size=268435456 --conf spark.hadoop.parquet.enable.statistics=false --conf spark.rapids.memory.pinnedPool.size=30G --conf spark.plugins=com.nvidia.spark.SQLPlugin --jars ${SPARK_CUDF_JAR},${SPARK_RAPIDS_PLUGIN_JAR} --conf spark.rapids.sql.concurrentGpuTasks=4 --conf spark.executor.cores=20 --conf spark.executor.resource.gpu.amount=1 --conf spark.task.resource.gpu.amount=0.25 --conf spark.task.cpus=5However when I try to run the following command, it just hangs (without the amount/task.cpus etc, it runs just fine):
scala> val df = spark.read.parquet("hdfs://test/BigFile-1") [Stage 0:> (0 + 0) / 1]Note the 0+0 setting.
Thanks.