-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSandpid_issues
33 lines (25 loc) · 1.53 KB
/
Sandpid_issues
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2.How to run hadoop in Sandpit?
When you run command "hdfs dfs -ls /", it will show you the error message like below:
You should run "kinit" command first, and after that you can run hadoop commands.
Here if you do not have your keytab file, you need to generate it first.
a. Open your terminal and enter command ktutil, then enter addent -password -p [email protected] -k 1 -e aes256-cts, please note
that you need to use your account to replace autrifactadsa.
b. Then enter your password.
c. Enter addent -password -p [email protected] -k 1 -e rc4-hmac, then enter your password.
d. Enter wkt autrifactadsa.keytab. And "wkt autrifactadsa,keytab" is you keytab file.
e. Enter quit to exit.
f. Then run commands kinit -kt ~/autrifactadsa.keytab autrifactadsa and then you can run hadoop commands.
g. You can use command klist to check whether it success. And you can also use kdestory to delete it.
3.How to link Bitbucket and Sandpit?
a. Configure ssh on Sandpit refer to below link:
https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html
b. After ssh was added successfully, go to your home path and Create a file named .gitconfig
Then type your name and email to the file like below and save.
[user]
name = Wei Zhong
email = [email protected]
c. Go to .ssh path and create a file named config. Then type your name, port, hostname and identityfile like below and save.
user zhongd1
Port 22
HostName bitbucket.service.dev
IdentityFile ~/.ssh/id_rsa