Ben Chuanlong Du's Blog

It is never too late to learn.

Issues in pip and Solutions

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

The issue is due to to pyopenssl using old dependencies. It can be fixed by removing the Python package cryptography package and then upgrading …

Fix Package Installation Issue in Linux

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

Error message: The package hl1440lpr needs to be reinstalled, but I can't find an archive for it.

Steps to fix the issue:

Start with

sudo dpkg --remove --force-all hl1440lpr

If that …

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

Issues in Scala

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

2.12

  1. Avoid using view of collections.

2.11

  1. Iterator ++ non lazy, might cause stack overflow issues. This issue has been fixed in 2.12.

  2. Stream.filterNot, not lazy, might cause …