target-dir is used to create the directory with the name provided in HDFS but warehouse-dir additionally creates two more sub level directories as HDFS path +/warehouse/dir/(tablename)/+. No we cannot use these two clauses in the same command. These are mutually exclusive.
What is the difference between –target-dir and –warehouse-dir arguments while importing and can we use both in the same import command?
target-dir is used to create the directory with the name provided in HDFS but warehouse-dir additionally creates two more sub level directories as HDFS path +/warehouse/dir/(tablename)/+. No we cannot use these two clauses in the same command. These are mutually exclusive.
-
Main driver class which provides job configuration parameters. Mapper class which must extend org.apache.hadoop.mapredu...
-
This will be used to extract various date formats. The available date formats as follows. Syntax: to_char ( date , fo...