I tried to integrate HANA with Hadoop by following this video, but I stuck at creating a virtual UDF.
What I did is just simple copy the script in the video to my HANA studio.
I already got a remote data source by this script:
create remote source HADOOP_SOURCE
adapter "hadoop"
configuration 'webhdfs url-http://jhyl00521942a.dhcp.jhy.sap.corp:50070;
webhcat_url=http://jhyl00521942a.dhcp.jhy.sap.corp:50111'
with credential type 'PASSWORD'
using 'user=hive;password=hive';
then, I want to create a HADOOP_PRODUCT_UDF(by running:
CREATE VIRTUAL FUNCTION HADOOP_PRODUCT_UDF()
RETURNS TABLE ("person_income.name" NVARCHAR(255),"person_income.income" INTEGER)
CONFIGURATION
'datetime_format=yyyy-MM-dd HH:mm:ss;date_format=yyyy-mm-dd HH:mm:ss;time_format=HH:mm:ss;enable_remote_caching=true;cache_validity=3600;hdfs_location=/user/hive/warehouse/person_income'
AT HADOOP_SOURCE;
and it returns me a error:
invalid data source configuration: Invalid UDF Properties: line 4 col 1 (at pos 145)
what I did is just followed the video. Could anyone tell me what the problem might be? Thanks very much