I have Hadoop 1.0.4 running on a single node cluster set up on my Ubuntu machine.
I did the following steps to download and install the hive release
i have the same issue,and i use the command "source ~/.bashrc"
problem resolved!