I'm a beginner in Hadoop and HBase, I downloaded an example project about HBase for learning, and it seems to use MR to import existed data to HBase. This example puts the .txt data file under this path on HDFS: /user/root/uid_details.txt , and when clicking the 'Import' button, the data in uid_details.txt should be imported to HBase.
The problem is, I do not know the actual physical path of /user/root/ on my disk, so I do not know where the uid_details.txt should be placed on my disk. My core-site.xml and hdfs-site.xml : Screenshots of core-site.xml and hdfs-site.xml
You need to use the hdfs dfs / hadoop fs (or another hdfs client) to put the files into the dfs - the location of the HDFS blocks on disk will not help you to add files to the HDFS filesystem - eg
hdfs dfs -put /path/to/uid_details.txt /user/root/uid_details.txt
or
hdfs dfs -put /path/to/uid_details.txt hdfs://namenodeaddress/user/root/uid_details.txt