Apache Spark 2.0: select * from

How to query a „regular“ databases (DB2 in this example) via JDBC in Apache Spark 2.0. final Dataset result = this.sparkSession.read().format(„jdbc“).options(this.options).load(); Where „this.options“ is filled like this.options.put(„driver“, „com.ibm.db2.jcc.DB2Driver“); this.options.put(„url“, „jdbc:db2://host:port/db2_database“);… [Weiterlesen]

Linux: issues with partially installed packages

I had issues with partially installed packages on my Ubuntu 15.04. This helped sudo rm -rf /var/lib/dpkg/updates/* sudo rm -rf /var/lib/apt/lists/* sudo rm /var/cache/apt/*.bin sudo apt-get clean sudo apt-get autoremove sudo apt-get update sudo dpkg –configure -a sudo apt-get install -f or refer to https://wiki.ubuntuusers.de/Paketverwaltung/Problembehebung/#Die-Installation-Deinstallation-von-Paketen-endet-mit-Fehlermeldungen (in German)