How to “user defined functions (UDFs)” without the Streaming Cockpit
Hello,
on our HANA SP9 SDS development system I currently cannot not use the SAP Streaming Cockpit (btw. My issue with the streaming cockpit is
discussed at SAP Support message and will be fixed in HANA SP10)
So currently I cannot apply the “Enabling External User-Defined Functions” in the Streaming Cockpit as
described at
http://help.sap.com/saphelp_esp_51sp09_cp/helpdata/en/8d/b8047e09364c159c13726f2d2a3e3f/content.htm”
I assume that I can change this cluster setting in the cluster_config.xml I retrieve with
$STREAMING_HOME/bin/hdbstreamingserver -u –config cluster.cfg –show > current_config.xml
set “udf = true” parameter and deploy
$STREAMING_HOME/bin/hdbstreamingserver -u –config cluster.cfg –deploy –config-type file –file current_config.xml
But I don’t know the correct syntax of this “udf = true” setting in the cluster.xml and don’t like to try and error.
Can someone help me with this?
best
Roger
Hi Roger,
...
<ApplicationType enabled="true" name="project">
<Class>com.sybase.esp.cluster.plugins.apptypes.Project</Class>
<StandardStreamLogging enabled="true"/>
<Properties>
<Property expand="true" name="base-directory">${STREAMING_PROJECTS_DIRECTORY}</Property>
<Property expand="true" name="debug-level">4</Property>
<Property expand="true" name="streaming-home">${STREAMING_HOME}</Property>
<Property expand="true" name="hostname">${STREAMING_HOSTNAME}</Property>
<Property expand="true" name="ld-preload">${STREAMING_HOME}/lib/libjsig.so</Property>
<Property expand="true" name="enable-udfs">true</Property>
</Properties>
</ApplicationType>
...
Regards
André