Right now I am using Titan1.0.0-hadoop1 and hadoop1.2.1, and I have set Class\_path in /etc/profile like this:

```
export HADOOP_PREFIX=/usr/local/hadoop
export HADOOP_MAPRED_HOME=$HADOOP_PREFIX
export HADOOP_COMMON_HOME=$HADOOP_PREFIX
export HADOOP_CONF_DIR=$HADOOP_PREFIX/conf
export HADOOP_CONF=$HADOOP_PREFIX/conf
export HADOOP_HDFS_HOME=$HADOOP_PREFIX
export YARN_HOME=$HADOOP_PREFIX
export YARN_CONF_DIR=$HADOOP_PREFIX/conf
export PATH=$PATH:/usr/local/hadoop/sbin:/usr/local/hadoop/bin

```

However, in gremlin, when I type hdfs, I get this:

```
gremlin> hdfs
==>org.apache.hadoop.fs.LocalFileSystem@48bfb884

```

But when I use titan-0.5.4-hadoop1, I get a right connection I think:

```
gremlin> hdfs
==>DFS[DFSClient[clientName=DFSClient_NONMAPREDUCE_-1221412592_1, ugi=luheng]]

```

Anybody knows why?

Thanks.