Monday, July 20, 2015

Sqoop2 server installation on Ubuntu.

Sqoop2 server installation steps: 1) Download sqoop-1.99.6-bin-hadoop200.tar.gz and extract. 2) Changed sqoop.properties and catalina.properties in /server/conf folder. 3) catalina.properties contain hadoop installation libraries(E.g: My hadoop install location is /usr/local/hadoop] and sqoop.properties contain hadoop conf[e.g: /usr/local/hadoop/etc/conf] folder location 4) Execute /server/bin/./sqoop2-tool verify and it should return "Success" message. 5) Start sqoop server . /server/bin/./sqoop2-sever start.

How can instantiate Java interface without implementing.

public interface Foo { String method(); } public class Claaa {    public static void main(String[] args) {     Foo fooByIC...