sudo su - cd /var/lib/sqoop curl -L https://pkothuri.web.cern.ch/pkothuri/ojdbc6.jar -o ojdbc.jar exit
sqoop import \ --connect jdbc:oracle:thin:@devdb11-s.cern.ch:10121/devdb11_s.cern.ch \ --username hadoop_tutorial \ -P \ --num-mappers 1 \ --target-dir visitcount_rfidlog \ --table VISITCOUNT.RFIDLOG
sqoop import \ --connect jdbc:oracle:thin:@devdb11-s.cern.ch:10121/devdb11_s.cern.ch \ --username hadoop_tutorial \ -P \ --num-mappers 2 \ --split-by alarm_id \ --target-dir lemontest_alarms \ --table LEMONTEST.ALARMS \ --as-parquetfile
hdfs dfs -ls lemontest_alarms/