Home > other >  Use the TimerTask to execute the spark timing analysis Hbase data error.
Use the TimerTask to execute the spark timing analysis Hbase data error.

Time:09-23

Because of considering the JavaSparkContext after each read Hbase data and analysis need to be closed, in order to reduce the number of applications submitted, want to directly in the program control JavaSparkContext initialization and destruction, the code is as follows:

OffLineConfigurationStudy. Start () method is as follows:


Alone will be executed OffLineConfigurationStudy submitted to spark cluster is normal,
OffLineBusinessFound submitted to cluster error is as follows:


Error according to the baidu results for CDH user permissions problems, but from the case itself seems to is not associated with permissions, please help to have a look

CodePudding user response:

Error message can't see clearly
  • Related