Member since
10-22-2016
28
Posts
5
Kudos Received
0
Solutions
05-04-2018
02:32 PM
Further digging around in the hive source code I have found: https://github.com/apache/hive/commit/8ce0118ffe517f0c622571778251cbd9f760c4f5#diff-a0e344e574e0fe542ad8a98e64c967cf in particular https://github.com/apache/hive/blob/1eea5a80ded2df33d57b2296b3bed98cb18383fd/ql/src/test/queries/clientpositive/reloadJar.q leads me to believe that hfs should be supported. --! qt:dataset:src
dfs -mkdir ${system:test.tmp.dir}/aux;
dfs -cp ${system:hive.root}/data/files/identity_udf.jar ${system:test.tmp.dir}/aux/udfexample.jar;
SET hive.reloadable.aux.jars.path=${system:test.tmp.dir}/aux;
RELOAD;
CREATE TEMPORARY FUNCTION example_iden AS 'IdentityStringUDF';
EXPLAIN
SELECT example_iden(key)
FROM src LIMIT 1;
SELECT example_iden(key)
FROM src LIMIT 1;
DROP TEMPORARY FUNCTION example_iden;
dfs -rm -r ${system:test.tmp.dir}/aux;
EDIT It appears, that CREATE TEMPORARY FUNCTION example_iden AS 'IdentityStringUDF'; throws a Warning of : WARN. . permanent functions created without USIJNG clause will not be replicated so I assume the USING /path/to/jar.jar is mandatory for permanent UDFs even when reloadable flag is set.
... View more
02-16-2017
02:16 PM
@Georg Heiler we are not keen on publishing timelines. Shouldn't be too long.
... View more
05-02-2017
09:13 AM
1 Kudo
@Sandeep Rai
You will need to write the hostname mapping file to define the Hostname (FQDN) mapping with the hostgroups, Blueprint File does not contain the actual Hostnames, Instead it uses
the placeholders for the hosts like 'host_group_2', 'host_group_3'
.etc.You will need to provide another JSON file to specify the hostgroup mapping. For more practice example please refer to: https://github.com/abajwa-hw/ambari-workshops/blob/master/blueprints/cluster-4node.jsonAnd https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-ExampleClusterCreationTemplate.1 .
... View more
02-13-2017
07:06 PM
I used``` "policymgr_external_url" : "https://{% if isSingleNode %} {{ groups[cluster_name+'_mn01'][0] }} {% else %} {{ groups[cluster_name+'_mn03'][0] }} {% endif %}:6182",
{% else %}
"policymgr_external_url" : "http://{% if isSingleNode %} {{ groups[cluster_name+'_mn01'][0] }} {% else %} {{ groups[cluster_name+'_mn03'][0] }}{% endif %}:6080",
{% endif %} ``` to create the JSON. It is adopted from https://github.com/bushnoh/ansible-hadoop-asap/blob/master/blueprints/bare_cluster.bp.j2 When removing the spaces inn all places ineed, finally ambari successfully installs ranger.
... View more
03-06-2017
08:38 PM
@Georg Heiler - Yes. Please use refer below curl command for the same curl -H "X-Requested-By: ambari" -X GET-u <admin-user>:<admin-password> http://<ambari-server>:8080/api/v1/clusters/<cluster-name>?format=blueprint
... View more