13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong>To use Hadoop Hive with <strong>iReport</strong>, first set up a Hadoop Hive connection. To do this, click the Report Datasources icon ,click the New button, and choose the Hadoop Hive connection as your data source type.Figure 11-33 Hadoop Hive ConnectionEnter the path to your HIve JDBC. Usually it will look something like jdbc:hive://50.19.3.244:10000/default.Click the Test button to check the path resolution.Now that a Hive connection is available, use a HiveQL query to retrieve data in your report. You can use HiveQL in the sameway that you use SQL. To use a HiveQL query, open the Report Query dialog box and choose HiveQL as the query languagefrom the combo box at the top of the window. Alternatively, you can choose HiveQL in the Wizard that creates a report fromthe Welcome Window (see Figure 11-34).Figure 11-34 HiveQL Query and the Report Wizard202

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!