TypeError: 'JavaPackage' object is not callable

18/08/03 15:14:18 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
RunSVMWithSGDBinary
master=local[4]
Traceback (most recent call last):
  File "/home/hduser/pythonwork/PythonProject/RunSVMWithSGDBinary.py", line 235, in <module>
    sc=CreateSparkContext()
  File "/home/hduser/pythonwork/PythonProject/RunSVMWithSGDBinary.py", line 229, in CreateSparkContext
    SetLogger(sc)
  File "/home/hduser/pythonwork/PythonProject/RunSVMWithSGDBinary.py", line 16, in SetLogger
    logger.LogManager.getLogger("org"). setLevel( logger.Level.ERROR )
TypeError: 'JavaPackage' object is not callable

猜你喜欢

转载自blog.csdn.net/wqqGo/article/details/81388381