While creating a hive table using avro format, we are using 3 back slashes(hdfs:///user) for LOCATION where as for TBLPROPERTIES 2 back slashes(hdfs://quickstart).
Copied the code from github for reference below:
LOCATION ‘hdfs:**///user/hive/warehouse/retail_stage.db/customers’
TBLPROPERTIES (‘avro.schema.url’='hdfs://**quickstart.cloudera/user/cloudera/retail_stage/sqoop_import_customers.avsc’);
Kindly explain. Thanks in Advance.