Member since
03-31-2017
21
Posts
3
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5416 | 08-18-2017 05:43 AM | |
17133 | 05-19-2017 11:54 PM |
08-18-2017
05:43 AM
Thank you @Sonu Sahi for the response. I checked your colleague's blog. He is using password file but not the password alias (credential provider) which is saving password in keystore instead of file. Any way I finally figure out how to make it work. In case some one else need this in the future, I paste my solution here: The option file: import -connect
"jdbc:sqlserver://host:1433;database=DB1" Script for Sqoop job defination: sqoop job -Dhadoop.security.credential.provider.path=jceks://hdfs/user/root/mysql.password.jceks --create sqoop_test -- options-file db.props --username sqoop_ro --password-alias sqoop_ro.passwd --target-dir /XXX --query 'select ....' This works for me. Thanks
... View more
08-17-2017
07:10 PM
I'm able to use credential provider to encrypt password. Also be able to use it with sqoop command. But I can't work it out if I want to put connection string in option files. Anybody can give me some clue ? Thanks
... View more
Labels:
- Labels:
-
Apache Sqoop
05-23-2017
07:24 PM
Same issue with script init_nifi_in_src_data.sh. Command not found. It's a pain. You don't have this issue ? @Sonu Sahi
... View more
05-23-2017
05:40 PM
I'm able to open Nifi UI by http://localhost:19090/nifi/ . Maybe I can ignore the script error ?
... View more
05-23-2017
05:36 PM
Yes, I'm able to log on http://127.0.0.1:9080 and http://127.0.0.1:18888. Can't open http://sandbox-hdf.hortonworks.com:19090/nifi Have issue with the tutorial script . It says virtualBox command not found. @Sonu Sahi
... View more
05-23-2017
12:02 AM
Hi @Sonu Sahi . Any idea with below error? I tried this script in both virtualBox and Vmware. Neither works. In VirtualBox, it complains vboxmanage not found. Thanks [root@sandbox-hdf ~]# ./auto_scripts/launch_ambari_ui.sh
HDF Sandbox Virtual Environment Selection Menu
'Docker' - is my environment 'VirtualBox' - is my environment
Enter the 'virtual environment' for HDF Sandbox: VirtualBox You entered HDF Sandbox runs on: VirtualBox
Start VirtualBox VM's Docker HDF Sandbox...
./auto_scripts/virtualbox-scripts/virtualbox_sandbox_hdf.sh: line 3: vboxmanage: command not found
Starting Ambari Services, may take 2.5 minutes...
... View more
05-19-2017
11:54 PM
2 Kudos
Finally I figured out the reason. I downloaded the HDF sandbox vmware image. When I click the file to open, it pop up and automatically opened by virtualbox which can't work correctly for the network part. Realized this, I turned off and opened in VMWare. Issue gone. Thanks for your help.
... View more
05-19-2017
11:04 PM
Thank you @Sonu Sahi for your response. I'm actually also using virtual box. Attached is my screenshot: NOt sure what's wrong. My network configuration also NAT.
... View more
05-19-2017
05:46 PM
Yes, the VM setup is using NAT, After I started the VM. Before press ALT+F5, The VMware says "please open a browser's address field: http://10.0.2.15:18888/. However I got "connection time out " error. I press ALT+F5 to log in the Vmware as root user. Then tried "ssh -p 2222 root@127.0.0.1" it doesn't work. @Sonu Sahi Could you help check if you did the same but got different result ? Thanks
... View more
05-18-2017
10:42 PM
1 Kudo
I have been able to connect to HDP sanbox by ssh -p 2222. But with the new HDF sandbox, I was stuck again with the "connection refused" error. After I brought up the sandbox, I tried the URL "http://10.0.2.15:18888/" but just got timeout error. Any idea ? @mqureshi
... View more
Labels:
- Labels:
-
Apache NiFi