/.bashrc在打开或登录用户时出错

时间:2016-03-31 13:43:04

标签: bash hadoop installation hive ubuntu-14.04

我有一个用户hduser,并在其上安装了hadoop和hive,我也编辑了/.bashrc文件来设置环境,但不知何故,每当我尝试运行/.bashrc或登录到hduser时,我都会收到以下错误< / p>

No command 'Set' found, did you mean: Command 'fet' from package 'fet' (universe) Command 'net' from package 'samba-common-bin' (main) Command 'eet' from package 'libeet-bin' (universe) Set: command not found

this是我的/.bashrc文件。我在本地机器上,所以我也可以访问root

1 个答案:

答案 0 :(得分:4)

您在这里错过了评论字符:

Set Hadoop-related environment variables

应该是

# Set Hadoop-related environment variables