Visualizing ECL Results Technical Preview



Similar documents
HDFS to HPCC Connector User's Guide. Boca Raton Documentation Team

HPCC Data Handling. Boca Raton Documentation Team

The ECL Scheduler. Boca Raton Documentation Team

Running HPCC in a Virtual Machine. Boca Raton Documentation Team

PingFederate. Identity Menu Builder. User Guide. Version 1.0

Juris Suite Installation Guide

Deploying Intellicus Portal on IBM WebSphere

ACE: Dreamweaver CC Exam Guide

Performance Monitor. Intellicus Web-based Reporting Suite Version 4.5. Enterprise Professional Smart Developer Smart Viewer

Installing & Running the HPCC Platform. Boca Raton Documentation Team

Macromedia Dreamweaver 8 Developer Certification Examination Specification

Table of Contents. Table of Contents 3

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

Getting Started Guide

Fax User Guide 07/31/2014 USER GUIDE

KonyOne Server Prerequisites _ MS SQL Server

PASTPERFECT-ONLINE DESIGN GUIDE

LexisNexis Publisher Quick Reference Guide

Parallels Containers for Windows 6.0

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

SAS Visual Analytics 7.2 for SAS Cloud: Quick-Start Guide

Bitrix Site Manager ASP.NET. Installation Guide

HP Quality Center. Software Version: Version Control Add-in Guide

Installing and Running the Google App Engine On Windows

Installation, Configuration, and Usage

Information Server Documentation SIMATIC. Information Server V8.0 Update 1 Information Server Documentation. Introduction 1. Web application basics 2

Monitoring Replication

SWsoft Plesk 8.2 for Linux/Unix Backup and Restore Utilities. Administrator's Guide

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

SAP HANA Big Data Intelligence rapiddeployment

StreamServe Persuasion SP5 Control Center

HP CloudSystem Enterprise

Kony MobileFabric Messaging. Demo App QuickStart Guide. (Building a Sample Application

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

Code Estimation Tools Directions for a Services Engagement

SOA Software API Gateway Appliance 7.1.x Administration Guide

Virtual Server Installation Manual April 8, 2014 Version 1.8

Intellicus Enterprise Reporting and BI Platform

SFTP Server User Login Instructions. Open Internet explorer and enter the following url:

Using GitHub for Rally Apps (Mac Version)

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Media Control Server MCS-EX Integration Guide for RTI Control Systems

LexisNexis Insurance Solutions User Guide Interactive/Online Order Processing

MDM Mass Configuration Tool User s Manual

Time Matters and Billing Matters Release Notes. Obtaining the Software. Before You Install. LexisNexis Time Matters and Billing Matters 15.

Citrix EdgeSight for Load Testing Installation Guide. Citrix EdgeSight for Load Testing 3.8

Microsoft Expression Web

Time Matters and Billing Matters Release Notes. Obtaining the Software. Before You Install. LexisNexis Time Matters and Billing Matters 15.

DiskPulse DISK CHANGE MONITOR

Microsoft Dynamics NAV Connector. User Guide

Phone Inventory 1.0 (1000) Installation and Administration Guide

FileMaker Server 14. FileMaker Server Help

Business Objects Enterprise version 4.1. Report Viewing

About This Guide Signature Manager Outlook Edition Overview... 5

Time Matters and Billing Matters 12 SP2. Release Notes. What's new in this release. Obtaining the software. Before you install. Time Matters 12 SP2

Wavecrest Certificate

HOW TO CREATE AN HTML5 JEOPARDY- STYLE GAME IN CAPTIVATE

RealPresence Platform Director

FileMaker Server 13. FileMaker Server Help

Using SQL Reporting Services with Amicus

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

PCLaw Administration Guide. Version 13.0

Microsoft Dynamics GP. Business Analyzer

MyCompany Professional Web Developer Certification Examination Specification

Last edited on 7/30/07. Copyright Syncfusion., Inc

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Step-by-Step Guide for Microsoft Advanced Group Policy Management 4.0

FileMaker Server 14. Network Install Setup Guide

Crystal Reports Installation Guide

Dashboard Builder TM for Microsoft Access

Customer Tips. Xerox Network Scanning TWAIN Configuration for the WorkCentre 7328/7335/7345. for the user. Purpose. Background

Integration Service Database. Installation Guide - Oracle. On-Premises

How To Install Outlook Addin On A 32 Bit Computer

Getting Started with the Ed-Fi ODS and Ed-Fi ODS API

PCLaw Administration Guide

FileMaker Pro 13. Using a Remote Desktop Connection with FileMaker Pro 13

FileMaker Server 10 Help

CA Spectrum and CA Service Desk

TIBCO Slingshot User Guide

Extracting Data for Financial Planning Tools

Novell Identity Manager

WebSphere Business Monitor V7.0 Business space dashboards

Integrate Websense Web Security Gateway (WSG)

Spyglass Portal Manual v

TIBCO ActiveMatrix BPM Integration with Content Management Systems Software Release September 2013

Dwebs IIS Log Archiver Installation and Configuration Guide for Helm 4

NetBoot/SUS Appliance User Guide. Version 1.0

Partek Flow Installation Guide

Authoring for System Center 2012 Operations Manager

Parallels Virtual Automation 6.1

Using Microsoft Expression Web to Upload Your Site

Installing Microsoft Exchange Integration for LifeSize Control

Interworks. Interworks Cloud Platform Installation Guide

Transcription:

Visualizing ECL Results Technical Preview Provided by HPCCSystems

Visualizing ECL Results Boca Raton Documentation Team November 2011 Version 3.4.0b (Technical Preview) Copyright 2011 HPCC Systems. All rights reserved We welcome your comments and feedback about this document via email to docfeedback@hpccsystems.com Please include Documentation Feedback in the subject line and reference the document name, page numbers, and current Version Number in the text of the message. LexisNexis and the Knowledge Burst logo are registered trademarks of Reed Elsevier Properties Inc., used under license. Other products, logos, and services may be trademarks or registered trademarks of their respective companies. All names and example data used in this manual are fictitious. Any similarity to actual persons, living or dead, is purely coincidental.

Introduction The ECL compiler now supports adding external resources to a Workunit using a manifest file. The manifest, in XML format, adds external resources such as XSLT transformations, or other objects to the archive before it is compiled and deployed to the server. In future versions, you should be able to add different types of resources, for example, a Cascading Style Sheet (css file). In the examples we provide, we will demonstrate how to use this feature to visualize ECL job results using Google Chart Tools. This library provides an easy way to visualize data from ECL results. See http://code.google.com/apis/chart/interactive/docs/index.html for more information. In this version of the HPCC Platform, these features are being released as a technical preview. Some planned functionality has not yet been implemented, but the portions that are available have been tested and are ready for use.

Overview of the process This section is a summary of the details in this guide. After you have completed the detailed steps that follow, you can use this summary to refresh your memory later. We suggest reading this document in its entirety before beginning. To use Google Charts, you should: 1. Write ECL Code that produces an output containing data that fits the visualization you select. (In this exercise, we will use the ones provided in the examples.) 2. In the code, make sure your ECL OUTPUT action has the NAMED option with the desired visualization nominated, as shown below. OUTPUT(dPie, NAMED('PieChart_Pie_Chart_Test')); 3. Create an XSLT template to handle the output. (In this exercise, we will use the ones provided in the examples.) 4. Create a Manifest file including the XSLT template(s). (In this exercise, we will use the ones provided in the examples. The example XSLT files contain code that will select a visualization based on the output name used in the ECL code) 5. Using either the ECL IDE or the ECLCC command line, create an archive with -manifest=argument naming the manifest file. For example (in the IDE s compiler arguments): -manifest="c:\documents and Settings\All Users\Documents\HPCC Systems\ECL\My Files\visualizations\google_charts\files\manifest.xml" For example (on command line): eclcc pie.ecl -E -manifest="c:\documents and Settings\All Users\Documents\HPCC Systems\ECL\My Files\visualizations\google_charts\files\manifest.xml" >myarchive.xml 6. Deploy the Archive to an ESP server. This is automatic when you submit using the IDE, If you used the ECLCC command line to create the archive, then you must use the ECL command line tool to deploy the Archive. For example: ecl deploy myarchive.xml --server=10.239.219.8 --cluster=thor ecl publish <WUID> --server=10.239.219.8 --cluster=thor --activate --name=pie 7. Run the Workunit and view the Results in ECL Watch

Get the Samples The collection of visualization sample files contains a set of ECL files, a set of XSLT transformation templates, and a sample manifest file to use to include these XSLT files into a workunit. Get the sample code from GitHub: https://github.com/hpcc-systems/ecl-samples/tree/master/visualizations/google_charts Click on the Zip button to download. Copy to the folder you use for ECL code.

Detailed Steps Using the IDE Open the ECL IDE and Open Preferences Create a new configuration pointing to the server you wish to use. Add the following compiler argument: -manifest=<fullpathtomanifestfile> For example: -manifest="c:\documents and Settings\All Users\Documents\HPCC Systems\ECL\My Files\visualizations\google_charts\files\manifest.xml" If the path contains spaces, you must enclose in double quotes. NOTE: This configuration includes the manifest in every submission, so only use it for ECL that needs the manifest resources (Google Charts). Make sure you can see the new samples. (You may need to refresh)

Open one of the example files, for this example use pie. Syntax Check the code (This is always a good idea) Select thor as your target cluster Press the Submit button. After the job completes, select the Workunit s ECL Watch view: Scroll down, and expand the Result section. Click on the Google Chart by Name link The visualization displays

Detailed Steps using command line tools Open a command window in the location of your ECL files. Type the following command: eclcc pie.ecl -E -manifest=<mainfestfilepath> >myarchive.xml where <manifestfilepath> is the location of your manifest file For example: eclcc pie.ecl -E -manifest="c:\documents and Settings\All Users\Documents\HPCC Systems\ECL\My Files\visualizations\google_charts\files\manifest.xml" >myarchive.xml This invokes the ECLCC compiler to create an archive named myarchive.xml. Type the following command: ecl deploy myarchive.xml --server=10.239.219.8 --cluster=thor where --server= is the IP address of your ESP server and --cluster= is the target cluster name. Take note of the WUID returned by the pervious command. Type the following command: ecl publish <WUID> --server=10.239.219.8 --cluster=thor --activate --name=pie where <WUID> is the workuint id number, --server= is the IP address of your ESP server, and --cluster= is the target cluster name. In a browser, open the URL for the WsECL service (typically found on port 8002 of your ESP Server). Expand the thor branch on the left, then click on the pie service link. Press the Submit button. The visualization displays.

Try the remaining examples: o geomap o motion o pie o scatter o sparkline o timeline Next Steps Try creating your own XSLT files and Manifest to use other Google Charts. Try creating your own XSLT files and Manifest to use other third-party visualizations.