cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • Learn some foundational elements of JMP Scripting Language (JSL) and how to extend point & click automation into repeatable, shareable routines. Register. June 26, 2 p.m. US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
aliegner1
Level IV

ODBC Hive connection, change container size in the script?

Wondering if anyone can help here. I am trying to write some JMP scripts that SQL query data from a hive table. I need to change the container size and am told that I should just "do it in the connection settings".

 

I was told that in python, you just add a configuration={"hive.tez.container.size":'10240'} parameter to the hive.connect call.

 

How would I do this through JMP? I already have the Cloudera ODBC setup.

 

//**Globals*******************************
Clear Globals();
Clear Log();
Names Default to Here(1);
//**Globals*******************************


//**HIVE QUERY*************************
myquerystring = "
select *
from table
";

Caption( "Trying to extract the data from HIVE" );
Wait( 1 );
Try(
	hive_table = Open Database( "DSN=server", myquerystring );
,
	Show( exception_msg );
	Throw();
);
Caption( remove );
//**HIVE  QUERY***********************
0 REPLIES 0

Recommended Articles