Ben Chuanlong Du's Blog

It is never too late to learn.

Spark Issue: Unable to Find Encoder Type

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Issue Unable to find encoder for type stored in a Dataset

Solution …

Git Errors and Solutions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

git clone throws the error message "fatal: unable to fork"

The reason is due to missing SSH.

The solution is simply to install openssh-client.

sudo apt-get install openssh

git pull throw …

Common Errors Encountered in Scala and Solutions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Java Version Issue

    Unsupported major minor version

    https://stackoverflow.com/questions/22489398/unsupported-major-minor-version-52-0

java.lang.NoSuchMethodError: scala.Product.\(init\)

Fixing the Scala error: java.lang.NoSuchMethodError: scala.Product.\(init\)

It probably …

The Python Quit Unexpectedly Error

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

If you are using Homebrew, you can reinstall a corrupted Python environment like this:

brew uninstall --ignore-dependencies --force python python@2 unset PYTHONPATH brew install python python@2 I had another …

Exception Error and Critical

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels

Java

An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch. Most such errors are …

Zeppelin Issues and Solutions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Error/Issue 1

java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask