Record the problems encountered when doing school Hadoop homework. The homework is more basic, that is, calling Hadoop through makefile to execute the MapReduce program written in advance
Error 1
An error occurred in the Hadoop wordcount code
java: cannot access scala.Serializable class file for scala.Serializable not found
An error is reported
Solution:
through this Q & A on stack overflow, I guess that the scala version is incompatible with the Hadoop version, so rollback to 2.7 will solve the problem
Error report 2
Attempting to run Python on Hadoop. But an error is reported. The error information is not detailed:
insert a picture description here
solution:
add the following at the beginning of the source code:
#!/usr/bin/env python
# -*-coding:utf-8 -*
(the problem with the coding format is really that I don’t know how to debug it.)
Read More:
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- The python script tool of ArcGIS reports an error: indentationerror: unexpected indent solution
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- Python calls DLL and reports an error windowserror: [error 126]
- Running Django (2.2) project in Python 3.7.9 reports an error
- Python calls C to generate so library and reports an error: undefined symbol
- The idea code pushes to GitHub and reports an error fatal: unable to access
- QT + MySQL generates an EXE file and reports an error “driver not loaded”. Solution steps
- Vue console reports an error duplicate keys detected: ‘XXXX’. This may cause an update error. Solution
- CDH opens Kerberos and reports an error: ticket expired
- [OpenGL · error] visual studio 2019 reports an error. It is an external symbol gladloadglloader that cannot be parsed. This symbol is referenced in the function main
- Vue reports an error sasserror: expected newline
- Python3 reports an error [errno 5] input / output error. Print is used when there is no stdout
- HBase hangs up immediately after startup. The port reports an error of 500 and hmaster aborted
- Mysql reports an error Operand should contain 1 column(s)
- Android stdio reports an error: “XXX keeps stopping” solution
- Imshow() reports an error after C + + opencv 4.5.1 configures the environment
- Nacos starts in cluster mode and reports an error