Hi,
You can follow the below-given solution.
Just enter into hiveQL from where you used the sqoop import commands.
bin# cd /opt
[opt]#$SQOOP_HOME/bin/sqoop import --connect jdbc:mysql://localhost:3306/hadoop --table huser --hive-import --split-by name --hive-table sqooptest -username root -P
Execute hive from /opt, if you are trying to enter other-then this dir, you will not able to view
[opt]#$HIVE_HOME/bin/hive hive> show tables tablename
By default HIVE metadata stored in derby database. Derby store the data into current working dir. That can be customized by user "hive-default.xml"