>
> Some native tables have “local” prefix such as local_city_table, are they
> on local file system or on hdfs system?
>
The prefix is according to the naming convention:
http://lens.apache.org/user/olap-cube.html#Storage_table


> If they are on hdfs system, but I can not find them through “ hadoop fs
> –ls command” command.
>
>  As for where they are, they are on the hive metastore. If you're running
in default setup, look for property hive.metastore.warehouse.dir in lens
server's lens-site.xml. That is where the metastore should be.

>
>
> Another strange thing is , lens use “INSERT OVERWRITE DIRECTORY” to write
> results to hdfs , not use “INSERT OVERWRITE local DIRECTORY”, but why
> result is on local file system not on hdfs?
>
> Look at ResultFormatter. As soon as result is available on hdfs, it is
formatted and made available on local fs.

Reply via email to