How to submit the jar package to the cluster for execution?
spark-submit --class package name + class name /home/****/myScala.jar> rizhi.txt
Among them: spark-submit is the command
-class package name + class name, the package name is jj.tag.test, the class name is DataFrameOperation
>rizhi.txt is to put the log in the rizhi.txt file
* How to upload the file of the computer's local path to the server?
hadoop dfs -put /home/**** hdfs://****
where /home/**** is the local path hdfs://**** is the server path