[typo](doc)Add spark load faq (#28015)

This commit is contained in:
caoliang-web
2023-12-13 09:45:15 +08:00
committed by GitHub
parent bb4c192a57
commit 805673dd53
2 changed files with 2 additions and 2 deletions

View File

@ -785,7 +785,7 @@ The most suitable scenario to use spark load is that the raw data is in the file
If the `JAVA_HOME` environment variable is not set, the error `yarn application kill failed. app id: xxx, load job id: xxx, msg: which: no xxx/lib/yarn-client/hadoop/bin/yarn in ((null)) Error: JAVA_HOME is not set and could not be found` will be reported.
* When using spark load, the launch log for `SparkLauncher` is not printed.
* When using spark load, the launch log for `SparkLauncher` is not printed or report an error `start spark app failed. error: Waiting too much time to get appId from handle. spark app state: UNKNOWN, loadJobId:xxx`
In `<`SPARK_HOME`>`/conf, add the log4j.properties configuration file and set the log level to INFO.

View File

@ -748,7 +748,7 @@ LoadFinishTime: 2019-07-27 11:50:16
如果 `JAVA_HOME` 环境变量没有设置,会报 `yarn application kill failed. app id: xxx, load job id: xxx, msg: which: no xxx/lib/yarn-client/hadoop/bin/yarn in ((null)) Error: JAVA_HOME is not set and could not be found` 错误
- 使用 Spark Load 时没有打印 SparkLauncher 的启动日志
- 使用 Spark Load 时没有打印 SparkLauncher 的启动日志或者报错`start spark app failed. error: Waiting too much time to get appId from handle. spark app state: UNKNOWN, loadJobId:xxx`
`<`SPARK_HOME`>`/conf下,添加log4j.properties配置文件,并配置日志级别为INFO。