Service Integration course. Cassandra
|
|
|
- Willa Glenn
- 10 years ago
- Views:
Transcription
1 Budapest University of Technology and Economics Department of Measurement and Information Systems Fault Tolerant Systems Research Group Service Integration course Cassandra Oszkár Semeráth Gábor Szárnyas March 16, 2014
2 Contents 1 Installation Linux Windows Documentation pointers Laboratory exercises Database design Java client Integration Version control Eclipse tips
3 Chapter 1 Installation Apache Cassandra ( is an open source NoSQL database management system based on the column family data model. Figure 1.1: The logo of Apache Cassandra 1.1 Linux sudo mkdir /var/lib/cassandra sudo mkdir /var/log/cassandra sudo chown -R $USER:$USER /var/lib/cassandra sudo chown -R $USER:$USER /var/log/cassandra 1.2 Windows Set the JAVA_HOME environment variable to to the JDK s installation directory (Cassandra will work with the JRE as well, but some other Java-based applications such as Maven will not). 2
4 Install Cygwin with Python 2.7.x (if you want to add the package to an existing Cygwin installation, you have to re-run the installer). Navigate to /cygdrive/c/apache-cassandra Run the shell with the following command: $ bin/cqlsh Connected to Test Cluster at localhost:9160. [cqlsh Cassandra CQL spec Thrift protocol ] Use HELP for help. Note that Cassandra itself is not supported under Cygwin ( error-when-starting-cassandra-with-bin-cassandra-f). 1.3 Documentation pointers Official Apache wiki ( It is not very informative, use the DataStax documentation ( instead. CQL documentation: 3
5 Chapter 2 Laboratory exercises 2.1 Database design 1. You may always reset the database with the following command: DROP KEYSPACE bicycle_database; 2. Create the keyspace: CREATE KEYSPACE bicycle_database WITH replication = { 'class': 'SimpleStrategy', 'replication_factor': 1 ; 3. Create a column family: USE bicycle_database; CREATE TABLE bicycles ( manufacturer text, model text, PRIMARY KEY (manufacturer, model) ); INSERT INTO bicycles (manufacturer, model) VALUES ('KTM', 'Strada 1000'); 4. Run a simple query: SELECT * FROM bicycles; 5. Add some columns. ALTER TABLE bicycles ADD year int; ALTER TABLE bicycles ADD size int; 6. Insert a few lines. INSERT INTO bicycles (manufacturer, model, year, size) VALUES ('KTM', 'Strada 1000', 2014, 57); INSERT INTO bicycles (manufacturer, model, year, size) VALUES ('Trek', '1.2', 2013, 54); 4
6 7. Run a simple query again: cqlsh:bicycle_database> SELECT * FROM bicycles; manufacturer model size year KTM Strada Trek (2 rows) 8. We would like to collect the bicycles with the frame size of 54: SELECT * FROM bicycles WHERE size = 54; This throws the following error: Bad Request: No indexed columns present in by-columns clause with Equal operator. 9. Create indices. CREATE INDEX bicycles_size ON bicycles (size); CREATE INDEX bicycles_year ON bicycles (year); 10. Re-run the query. It may not return any results as the rows were added before the index was created. Add the rows again and the query will work fine. 11. Try a query which filters for inequality: SELECT * FROM bicycles WHERE year > 2013; 12. This also throws an error: Bad Request: 13. Add an equality filter as well: No indexed columns present in by-columns clause with Equal operator SELECT * FROM bicycles WHERE year > 2013 AND size = 57; This time, the error message is the following: Bad Request: Cannot execute this query as it might involve data filtering and thus may have unpredictable performance. If you want to execute this query despite the performance unpredictability, use ALLOW FILTERING 14. Allow filtering: SELECT * FROM bicycles WHERE year > 2013 AND size = 57 ALLOW FILTERING; This query works just fine. For details, see Try using an OR logical operation in the query: SELECT * FROM bicycles WHERE size = 54 OR size = 57; The parser does not even recognize the operation: Bad Request: line 1:39 missing EOF at OR. 16. CQL3 supports collections let s use them for storing the number of cogs: ALTER TABLE bicycles ADD front_cogs list<int>; ALTER TABLE bicycles ADD rear_cogs list<int>; 5
7 Figure 2.1: Drivetrain. Source: 6
8 17. Update the KTM bicycle with an INSERT operation (source: action=bike_details&bike_id=160&chash=dbfc043b8dd2263b610187cf9d093fc7). INSERT INTO bicycles (manufacturer, model, front_cogs, rear_cogs) VALUES ('KTM', 'Strada 1000', [50, 34], [12, 13, 14, 15, 17, 19, 21, 23, 25, 28]); Query it, the result should look like this: manufacturer model front_cogs rear_cogs size year KTM Strada 1000 [50, 34] [12, 13, 14, 15, 17, 19, 21, 23, 25, 28] Trek 1.2 null null Java client 1. Create a new Maven project. Choose the org.apache.maven.archetypes:maven-archetype-quickstart archetype. Set the Group Id to hu.bme.mit.sysint and the Artifact Id to client. 2. Go to the App class and run it. 3. Go to the pom.xml file. The Ctrl+F11 hotkey does not run the application if we are on the POM file. Solution: go to Window Preferences Run/Debug Launching, in the Launch Operation groupbox choose Always launch the previously launched application. 4. Add the DataStax driver dependency ( <dependency> <groupid>com.datastax.cassandra</groupid> <artifactid>cassandra-driver-core</artifactid> <version>2.0.0</version> </dependency> 5. Create the CassandraClient class. private static final String KEYSPACE_NAME = "bicycle_database"; protected Session session; protected Cluster cluster; public CassandraClient(String host) { cluster = Cluster.builder().addContactPoints(host).build(); session = cluster.connect("system"); 6. Instantiate the CassandraClient class from the main method: public class App { private static final String CASSANDRA_HOST = " "; public static void main(string[] args) { client = new CassandraClient(CASSANDRA_HOST); client.load(); 7. The following warning is shown. 7
9 SLF4J: Failed to load class "org.slf4j.impl.staticloggerbinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See for further details. 8. Pick a logger implementation, e.g. log4j and search for its Maven dependency: <dependency> <groupid>org.slf4j</groupid> <artifactid>slf4j-log4j12</artifactid> <version>1.7.6</version> </dependency> 9. Run the project. 10. The following warning is displayed: log4j:warn No appenders could be found for logger (com.datastax.driver.core.framecompressor). log4j:warn Please initialize the log4j system properly. log4j:warn See for more info. 11. Create log4j.properties file in the src/main/java folder. The content should look something like this: # Root logger option log4j.rootlogger=info, stdout # Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.consoleappender log4j.appender.stdout.target=system.out log4j.appender.stdout.layout=org.apache.log4j.patternlayout log4j.appender.stdout.layout.conversionpattern=%d{yyyy-mm-dd HH:mm:ss %-5p %c{1:%l - %m%n Source: If you d like to hide the warning messages (e.g. for a production system), change the value of the log4j.rootlogger property from INFO to ERROR. 13. Alternatively, we may add the missing libraries: <dependency> <groupid>org.xerial.snappy</groupid> <artifactid>snappy-java</artifactid> <version> </version> </dependency> <dependency> <groupid>net.jpountz.lz4</groupid> <artifactid>lz4</artifactid> <version>1.2.0</version> </dependency> 14. Use the following commands in the CQL shell: DESCRIBE KEYSPACE bicycle_database; DESCRIBE TABLE bicycles; 8
10 15. The application does not stop after it finishes its operations. This is because is has open connections. To solve this, implement the Closeable interface in the CassandraClient class: public class CassandraClient implements Closeable { [...] public void close() { session.close(); cluster.close(); Java 7 has a feature similar to the using block in C#. public static void main(string[] args) { try (CassandraClient client = new CassandraClient(CASSANDRA_HOST)) { client.load(); finally { 16. We start the load with dropping the keyspace. session.execute("drop KEYSPACE bicycle_database"); This works fine for the first time, however, it throws an exception if the keyspace does not exist: Exception in thread "main" com.datastax.driver.core.exceptions.invalidqueryexception: Cannot drop non existing keyspace bicycle_database. 17. While the Javadoc of the Session interface s execute() method shows that it may throw an exception, the application is not required to catch this exception as it is a RuntimeException. For details, see the Javadoc of the RuntimeException class. try { session.execute("drop KEYSPACE bicycle_database"); catch (InvalidQueryException e) { System.out.println("Cannot drop keyspace."); A more elegant solution is to use: DROP KEYSPACE IF EXISTS bicycle_database; 18. Create the keyspace: String createkeyspace = "CREATE KEYSPACE " + KEYSPACE_NAME + " WITH replication = {\r\n" + " 'class': 'SimpleStrategy',\r\n" + " 'replication_factor': '1'\r\n" + ";"; session.execute(createkeyspace); session.execute("use " + KEYSPACE_NAME); 19. Create the table. Autoformatting may be messy here. To correct this, Go to Window Preferences Java Code Style Formatter. Create a new profile (e.g. Eclipse FTSRG) and edit it. Go to the Off/On Tags tab and check Enable Off/On tags. 9
11 String createtable = "CREATE TABLE bicycles (\r\n" + " manufacturer text,\r\n" + " model text,\r\n" + " front_cogs list<int>,\r\n" + " rear_cogs list<int>,\r\n" + " size int,\r\n" + " year int,\r\n" + " PRIMARY KEY (manufacturer, model)\r\n" + ")"; session.execute(createtable); 20. Implement a method for creating indices: protected void createindex(string columnfamily, String columnname) { String createindex = String.format("CREATE INDEX %s_%s ON %s (%s)", columnfamily, columnname, columnfamily, columnname); session.execute(createindex); Invoke the method: createindex("bicycles", "size"); createindex("bicycles", "year"); 21. The insertion uses the builder pattern ( Insert insert = QueryBuilder.insertInto(KEYSPACE_NAME, "bicycles"); insert.value("manufacturer", "KTM"); insert.value("model", "Strada 1000"); insert.value("size", 57); insert.value("year", 2014); insert.value("front_cogs", Arrays.asList(53, 39)); insert.value("rear_cogs", Arrays.asList(12, 13, 14, 15, 17, 19, 21, 23, 25, 28)); session.execute(insert); 22. Run some queries: System.out.println("Query 1"); for (Row row : resultset1) { System.out.println(row); String manufacturer = row.getstring("manufacturer"); String model = row.getstring("model"); List<Integer> frontcogs = row.getlist("front_cogs", Integer.class); List<Integer> rearcogs = row.getlist("rear_cogs", Integer.class); System.out.println(manufacturer + " " + model + ", front cogs: " + frontcogs + ", rear cogs: " + rearcogs); System.out.println("Query 2"); String select2 = QueryBuilder.select("manufacturer").from("bicycles"). where(querybuilder.eq("size", 57)).getQueryString(); ResultSet resultset2 = session.execute(select2); for (Row row : resultset2) { System.out.println(row); 10
12 23. To improve the readability of the code, add a static import. Tip: use the Ctrl+Shift+M, while the cursor is in the eq part of QueryBuilder.eq. import static com.datastax.driver.core.querybuilder.querybuilder.eq; [...] String select2 = QueryBuilder.select("manufacturer").from("bicycles"). where(eq("size", 57)).getQueryString(); 2.3 Integration 1. Install Maven: set the M2_HOME environment variable and add M2_HOME/bin to the PATH environment variable. 2. Check if Maven is working properly: mvn --version 3. The standard Maven command for initiating the build process is: mvn clean install 4. The build may throw the folloing error: Fatal error compiling: tools.jar not found: To fix this, set the JAVA_HOME environment variable from the JRE s directory to the JDK s directory. 5. The CassandraClient class may cause an error related to the Java version, e.g. diamond operator is not supported in -source 1.5. Add the following lines to the POM file: <build> <plugins> <plugin> <artifactid>maven-compiler-plugin</artifactid> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> </build> Source: 6. Once the build succeeds, try to run the application. java -jar target\hu.bme.mit.sysint snapshot.jar 7. It throws the following error: no main manifest attribute, in target\hu.bme.mit.sysint snapshot.jar Define the main class in the POM file: 11
13 <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-jar-plugin</artifactid> <configuration> <archive> <manifest> <mainclass>hu.bme.mit.sysint.cassandraclient.app</mainclass> </manifest> <manifestentries> <mode>development</mode> <url>${pom.url</url> </manifestentries> </archive> </configuration> </plugin> Source: 8. It throws the following exception: Exception in thread "main" java.lang.noclassdeffounderror: com/datastax/driver/core/statement at hu.bme.mit.sysint.cassandraclient.app.main(app.java:13) Caused by: java.lang.classnotfoundexception: com.datastax.driver.core.statement The reason for this is that the dependencies are not available for the application. To solve this, we have to (a) Copy the dependencies: <plugin> <artifactid>maven-dependency-plugin</artifactid> <executions> <execution> <phase>install</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputdirectory>${project.build.directory/lib</outputdirectory> </configuration> </execution> </executions> </plugin> The execution tag shows an error: maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e. Use the provided Permanently mark goal copy-dependencies in pom.xml as ignored in Eclipse build. fix. This adds a long <pluginmanagement> tag. (b) Add them to the classpath: <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-jar-plugin</artifactid> <configuration> <archive> <manifest> 12
14 [...] <addclasspath>true</addclasspath> <classpathprefix>lib/</classpathprefix> </manifest> </archive> </configuration> </plugin> For some libraries (e.g. emfjson) you may get a java.lang.noclassdeffounderror caused by a java.lang.classnotfoundexception. The reason for this is that Maven sometimes resolves the SNAPSHOT string to the actual snapshot version in the generated JAR s MANIFEST.MF file (e.g. org.eclipselabs.emfjson snapshot.jar becomes org.eclipselabs.emfjson ) but the filename of the dependency s JAR stays the same. To solve this, add a <useuniqueversions>false</useuniqueversions> element between the <manifest> tags (source: Source: 9. The old slf4j warning is back. The solution is to create a the src/main/resources folder and move the log4j.properties file to it. 10. If you would like to package your project as one fat JAR, use the maven-assembly-plugin. <plugin> <artifactid>maven-assembly-plugin</artifactid> <configuration> <archive> <manifest> <mainclass>hu.bme.mit.sysint.cassandraclient.app</mainclass> </manifest> </archive> <descriptorrefs> <descriptorref>jar-with-dependencies</descriptorref> </descriptorrefs> </configuration> <executions> <execution> <id>make-assembly</id> <!-- this is used for inheritance merges --> <phase>package</phase> <!-- bind to the packaging phase --> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> Source: If you just want to get the fat JAR, build the project with: mvn clean compile assembly:single 2.4 Version control 1. Start by cloning the repository to your local computer. To do this, go to the Git Repositories view (from the Window Show View Other... window). Provide the clone URI to clone the Git repository. 13
15 2. Right click the project an choose Team Share project... Choose Git and select the repository. 3. Add a.gitignore file to the project. Search for GitHub s gitignore repository ( gitignore) repository and use the Maven.gitignore and the Java.gitignore files as a guideline. 4. Commit and Push the project. 2.5 Eclipse tips In the Window Preferences dialog, go to Java Editor Typing. In the Automatically insert at correct position group, check the Semicolons checkbox. In the In string literals group, check Escape text when pasting into a string literal. 14
Configuration Manual Yahoo Cloud System Benchmark (YCSB) 24-Mar-14 SEECS-NUST Faria Mehak
Configuration Manual Yahoo Cloud System Benchmark (YCSB) 24-Mar-14 SEECS-NUST Faria Mehak Table of Contents 1 Introduction... 3 1.1 Purpose... 3 1.2 Product Information... 3 2 Installation Manual... 3
Contents. Apache Log4j. What is logging. Disadvantages 15/01/2013. What are the advantages of logging? Enterprise Systems Log4j and Maven
Enterprise Systems Log4j and Maven Behzad Bordbar Lecture 4 Log4j and slf4j What is logging Advantages Architecture Maven What is maven Terminology Demo Contents 1 2 Apache Log4j This will be a brief lecture:
Software project management. and. Maven
Software project management and Maven Problem area Large software projects usually contain tens or even hundreds of projects/modules Will become messy if the projects don t adhere to some common principles
Hands on exercise for
Hands on exercise for João Miguel Pereira 2011 0 Prerequisites, assumptions and notes Have Maven 2 installed in your computer Have Eclipse installed in your computer (Recommended: Indigo Version) I m assuming
Software project management. and. Maven
Software project management and Maven Problem area Large software projects usually contain tens or even hundreds of projects/modules Will become messy and incomprehensible ibl if the projects don t adhere
LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development
LAB 1 Familiarization of Rational Rose Environment And UML for small Java Application Development OBJECTIVE AND BACKGROUND The purpose of this first UML lab is to familiarize programmers with Rational
Content. Development Tools 2(63)
Development Tools Content Project management and build, Maven Version control, Git Code coverage, JaCoCo Profiling, NetBeans Static Analyzer, NetBeans Continuous integration, Hudson Development Tools 2(63)
Sonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI)
Sonatype CLM Enforcement Points - Continuous Integration (CI) i Sonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI) ii Contents 1
Getting started Cassandra Access control list
Getting started Cassandra Access control list Introduction: This document aims to provide a few easy to follow steps for the first-time user. We will cover the following subjects regarding our access control
Going Native With Apache Cassandra. QCon London, 2014 www.datastax.com @DataStaxEMEA
Going Native With Apache Cassandra QCon London, 2014 www.datastax.com @DataStaxEMEA About Me Johnny Miller Solutions Architect www.datastax.com @DataStaxEU [email protected] @CyanMiller https://www.linkedin.com/in/johnnymiller
Click Start > Control Panel > System icon to open System Properties dialog box. Click Advanced > Environment Variables.
Configure Java environment on Windows After installing Java Development Kit on Windows, you may still need to do some configuration to get Java ready for compiling and executing Java programs. The following
Easy-Cassandra User Guide
Easy-Cassandra User Guide Document version: 005 1 Summary About Easy-Cassandra...5 Features...5 Java Objects Supported...5 About Versions...6 Version: 1.1.0...6 Version: 1.0.9...6 Version: 1.0.8...6 Version:
Developing Web Services with Apache CXF and Axis2
Developing Web Services with Apache CXF and Axis2 By Kent Ka Iok Tong Copyright 2005-2010 TipTec Development Publisher: TipTec Development Author's email: [email protected] Book website: http://www.agileskills2.org
www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk
CS506 Web Design and Development Solved Online Quiz No. 01 Which of the following is a general purpose container? JFrame Dialog JPanel JApplet Which of the following package needs to be import while handling
NoSQL Databases. Big Data 2015
NoSQL Databases Big Data 2015 What s the matter What s the matter What s the matter CAP Theorem NoSQL Family Which one? NoSQL Family Amazon DynamoDB Amazon DynamoDB Amazon DynamoDB Relational Data Model
Mercury User Guide v1.1
Mercury User Guide v1.1 Tyrone Erasmus 2012-09-03 Index Index 1. Introduction... 3 2. Getting started... 4 2.1. Recommended requirements... 4 2.2. Download locations... 4 2.3. Setting it up... 4 2.3.1.
Sonatype CLM for Maven. Sonatype CLM for Maven
Sonatype CLM for Maven i Sonatype CLM for Maven Sonatype CLM for Maven ii Contents 1 Introduction 1 2 Creating a Component Index 3 2.1 Excluding Module Information Files in Continuous Integration Tools...........
1 Building, Deploying and Testing DPES application
1 Building, Deploying and Testing DPES application This chapter provides updated instructions for accessing the sources code, developing, building and deploying the DPES application in the user environment.
SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT
SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT Summary This tipsheet describes how to set up your local developer environment for integrating with Salesforce. This tipsheet describes how to set up your local
Crystal Reports for Eclipse
Crystal Reports for Eclipse Table of Contents 1 Creating a Crystal Reports Web Application...2 2 Designing a Report off the Xtreme Embedded Derby Database... 11 3 Running a Crystal Reports Web Application...
Hadoop Basics with InfoSphere BigInsights
An IBM Proof of Technology Hadoop Basics with InfoSphere BigInsights Unit 2: Using MapReduce An IBM Proof of Technology Catalog Number Copyright IBM Corporation, 2013 US Government Users Restricted Rights
Jenkins on Windows with StreamBase
Jenkins on Windows with StreamBase Using a Continuous Integration (CI) process and server to perform frequent application building, packaging, and automated testing is such a good idea that it s now a
Eclipse installation, configuration and operation
Eclipse installation, configuration and operation This document aims to walk through the procedures to setup eclipse on different platforms for java programming and to load in the course libraries for
Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions
Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions 1. Click the download link Download the Java Software Development Kit (JDK 5.0 Update 14) from Sun Microsystems
PTC Integrity Eclipse and IBM Rational Development Platform Guide
PTC Integrity Eclipse and IBM Rational Development Platform Guide The PTC Integrity integration with Eclipse Platform and the IBM Rational Software Development Platform series allows you to access Integrity
Installing Java (Windows) and Writing your First Program
Appendix Installing Java (Windows) and Writing your First Program We will be running Java from the command line and writing Java code in Notepad++ (or similar). The first step is to ensure you have installed
Setting up Hadoop with MongoDB on Windows 7 64-bit
SGT WHITE PAPER Setting up Hadoop with MongoDB on Windows 7 64-bit HCCP Big Data Lab 2015 SGT, Inc. All Rights Reserved 7701 Greenbelt Road, Suite 400, Greenbelt, MD 20770 Tel: (301) 614-8600 Fax: (301)
Getting Started. SAP HANA Cloud End-to-End-Development Scenarios. Develop your first End-to-End SAP HANA Cloud Application Scenario. Version 1.4.
SAP HANA Cloud End-to-End-Development Scenarios Getting Started Develop your first End-to-End SAP HANA Cloud Application Scenario Version 1.4.2 1 Copyright 2014 SAP AG or an SAP affiliate company. All
CI/CD Cheatsheet. Lars Fabian Tuchel Date: 18.March 2014 DOC:
CI/CD Cheatsheet Title: CI/CD Cheatsheet Author: Lars Fabian Tuchel Date: 18.March 2014 DOC: Table of Contents 1. Build Pipeline Chart 5 2. Build. 6 2.1. Xpert.ivy. 6 2.1.1. Maven Settings 6 2.1.2. Project
Software Quality Exercise 2
Software Quality Exercise 2 Testing and Debugging 1 Information 1.1 Dates Release: 12.03.2012 12.15pm Deadline: 19.03.2012 12.15pm Discussion: 26.03.2012 1.2 Formalities Please submit your solution as
Working With Derby. Version 10.2 Derby Document build: December 11, 2006, 7:06:09 AM (PST)
Working With Derby Version 10.2 Derby Document build: December 11, 2006, 7:06:09 AM (PST) Contents Copyright...3 Introduction and prerequisites...4 Activity overview... 5 Activity 1: Run SQL using the
EMC Documentum Composer
EMC Documentum Composer Version 6.5 User Guide P/N 300 007 217 A02 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748 9103 1 508 435 1000 www.emc.com Copyright 2008 EMC Corporation. All rights
Configuring the LCDS Load Test Tool
Configuring the LCDS Load Test Tool for Flash Builder 4 David Collie Draft Version TODO Clean up Appendices and also Where to Go From Here section Page 1 Contents Configuring the LCDS Load Test Tool for
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.035, Spring 2013 Handout Scanner-Parser Project Thursday, Feb 7 DUE: Wednesday, Feb 20, 9:00 pm This project
SDK Code Examples Version 2.4.2
Version 2.4.2 This edition of SDK Code Examples refers to version 2.4.2 of. This document created or updated on February 27, 2014. Please send your comments and suggestions to: Black Duck Software, Incorporated
Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04
Tutorial: BlackBerry Object API Application Development Sybase Unwired Platform 2.2 SP04 DOCUMENT ID: DC01214-01-0224-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This
! E6893 Big Data Analytics:! Demo Session II: Mahout working with Eclipse and Maven for Collaborative Filtering
E6893 Big Data Analytics: Demo Session II: Mahout working with Eclipse and Maven for Collaborative Filtering Aonan Zhang Dept. of Electrical Engineering 1 October 9th, 2014 Mahout Brief Review The Apache
Maven2 Reference. Invoking Maven General Syntax: Prints help debugging output, very useful to diagnose. Creating a new Project (jar) Example:
Maven2 Reference Invoking Maven General Syntax: mvn plugin:target [-Doption1 -Doption2 dots] mvn help mvn -X... Prints help debugging output, very useful to diagnose Creating a new Project (jar) mvn archetype:create
Word 2010: Mail Merge to Email with Attachments
Word 2010: Mail Merge to Email with Attachments Table of Contents TO SEE THE SECTION FOR MACROS, YOU MUST TURN ON THE DEVELOPER TAB:... 2 SET REFERENCE IN VISUAL BASIC:... 2 CREATE THE MACRO TO USE WITHIN
Overview of Web Services API
1 CHAPTER The Cisco IP Interoperability and Collaboration System (IPICS) 4.5(x) application programming interface (API) provides a web services-based API that enables the management and control of various
What's New In DITA CMS 4.0
What's New In DITA CMS 4.0 WWW.IXIASOFT.COM / DITACMS v. 4.0 / Copyright 2014 IXIASOFT Technologies. All rights reserved. Last revised: December 11, 2014 Table of contents 3 Table of contents Chapter
Documentum Developer Program
Program Enabling Logging in DFC Applications Using the com.documentum.fc.common.dflogger class April 2003 Program 1/5 The Documentum DFC class, DfLogger is available with DFC 5.1 or higher and can only
CONFIGURING ECLIPSE FOR AWS EMR DEVELOPMENT
CONFIGURING ECLIPSE FOR AWS EMR DEVELOPMENT With this post we thought of sharing a tutorial for configuring Eclipse IDE (Intergrated Development Environment) for Amazon AWS EMR scripting and development.
Integrating your Maven Build and Tomcat Deployment
Integrating your Maven Build and Tomcat Deployment Maven Publishing Plugin for Tcat Server MuleSource and the MuleSource logo are trademarks of MuleSource Inc. in the United States and/or other countries.
Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02
Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 SP02 DOCUMENT ID: DC01939-01-0232-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication
Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose
Setting up the Oracle Warehouse Builder Project Purpose In this tutorial, you setup and configure the project environment for Oracle Warehouse Builder 10g Release 2. You create a Warehouse Builder repository
Builder User Guide. Version 6.0.1. Visual Rules Suite - Builder. Bosch Software Innovations
Visual Rules Suite - Builder Builder User Guide Version 6.0.1 Bosch Software Innovations Americas: Bosch Software Innovations Corp. 161 N. Clark Street Suite 3500 Chicago, Illinois 60601/USA Tel. +1 312
Installation Guide. Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS 17.0.0-SNAPSHOT Last updated 2015-09-22 05:19:20 EDT
Installation Guide Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS 17.0.0-SNAPSHOT Last updated 2015-09-22 05:19:20 EDT Table of Contents 1. Basic Installation of OpenNMS... 1 1.1. Repositories for
Builder User Guide. Version 5.4. Visual Rules Suite - Builder. Bosch Software Innovations
Visual Rules Suite - Builder Builder User Guide Version 5.4 Bosch Software Innovations Americas: Bosch Software Innovations Corp. 161 N. Clark Street Suite 3500 Chicago, Illinois 60601/USA Tel. +1 312
Appendix A Using the Java Compiler
Appendix A Using the Java Compiler 1. Download the Java Development Kit from Sun: a. Go to http://java.sun.com/j2se/1.4.2/download.html b. Download J2SE v1.4.2 (click the SDK column) 2. Install Java. Simply
Introduction to Eclipse
Introduction to Eclipse Overview Eclipse Background Obtaining and Installing Eclipse Creating a Workspaces / Projects Creating Classes Compiling and Running Code Debugging Code Sampling of Features Summary
000-420. IBM InfoSphere MDM Server v9.0. Version: Demo. Page <<1/11>>
000-420 IBM InfoSphere MDM Server v9.0 Version: Demo Page 1. As part of a maintenance team for an InfoSphere MDM Server implementation, you are investigating the "EndDate must be after StartDate"
Creating a Java application using Perfect Developer and the Java Develo...
1 of 10 15/02/2010 17:41 Creating a Java application using Perfect Developer and the Java Development Kit Introduction Perfect Developer has the facility to execute pre- and post-build steps whenever the
Developer Guide: Unwired Server Management API. Sybase Unwired Platform 2.1
Developer Guide: Unwired Server Management API Sybase Unwired Platform 2.1 DOCUMENT ID: DC01332-01-0210-01 LAST REVISED: October 2011 Copyright 2011 by Sybase, Inc. All rights reserved. This publication
CIMHT_006 How to Configure the Database Logger Proficy HMI/SCADA CIMPLICITY
CIMHT_006 How to Configure the Database Logger Proficy HMI/SCADA CIMPLICITY Outline The Proficy HMI/SCADA CIMPLICITY product has the ability to log point data to a Microsoft SQL Database. This data can
Maven or how to automate java builds, tests and version management with open source tools
Maven or how to automate java builds, tests and version management with open source tools Erik Putrycz Software Engineer, Apption Software [email protected] Outlook What is Maven Maven Concepts and
Elixir Schedule Designer User Manual
Elixir Schedule Designer User Manual Release 7.3 Elixir Technology Pte Ltd Elixir Schedule Designer User Manual: Release 7.3 Elixir Technology Pte Ltd Published 2008 Copyright 2008 Elixir Technology Pte
Appendix K Introduction to Microsoft Visual C++ 6.0
Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):
MarkLogic Server. Java Application Developer s Guide. MarkLogic 8 February, 2015. Copyright 2015 MarkLogic Corporation. All rights reserved.
Java Application Developer s Guide 1 MarkLogic 8 February, 2015 Last Revised: 8.0-3, June, 2015 Copyright 2015 MarkLogic Corporation. All rights reserved. Table of Contents Table of Contents Java Application
Data Tool Platform SQL Development Tools
Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6
SnapLogic Salesforce Snap Reference
SnapLogic Salesforce Snap Reference Document Release: October 2012 SnapLogic, Inc. 71 East Third Avenue San Mateo, California 94401 U.S.A. www.snaplogic.com Copyright Information 2012 SnapLogic, Inc. All
HDB++: HIGH AVAILABILITY WITH. l TANGO Meeting l 20 May 2015 l Reynald Bourtembourg
HDB++: HIGH AVAILABILITY WITH Page 1 OVERVIEW What is Cassandra (C*)? Who is using C*? CQL C* architecture Request Coordination Consistency Monitoring tool HDB++ Page 2 OVERVIEW What is Cassandra (C*)?
Installing Java. Table of contents
Table of contents 1 Jargon...3 2 Introduction...4 3 How to install the JDK...4 3.1 Microsoft Windows 95... 4 3.1.1 Installing the JDK... 4 3.1.2 Setting the Path Variable...5 3.2 Microsoft Windows 98...
Designing with Exceptions. CSE219, Computer Science III Stony Brook University http://www.cs.stonybrook.edu/~cse219
Designing with Exceptions CSE219, Computer Science III Stony Brook University http://www.cs.stonybrook.edu/~cse219 Testing vs. Debugging Testing Coding Does the code work properly YES NO 2 Debugging Testing
ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 [email protected] TABLE OF CONTENTS Introduction... 1 Import Excel
Build management & Continuous integration. with Maven & Hudson
Build management & Continuous integration with Maven & Hudson About me Tim te Beek [email protected] Computer science student Bioinformatics Research Support Overview Build automation with Maven Repository
Getting Started using the SQuirreL SQL Client
Getting Started using the SQuirreL SQL Client The SQuirreL SQL Client is a graphical program written in the Java programming language that will allow you to view the structure of a JDBC-compliant database,
Developing In Eclipse, with ADT
Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)
Java Web Services SDK
Java Web Services SDK Version 1.5.1 September 2005 This manual and accompanying electronic media are proprietary products of Optimal Payments Inc. They are to be used only by licensed users of the product.
Portals and Hosted Files
12 Portals and Hosted Files This chapter introduces Progress Rollbase Portals, portal pages, portal visitors setup and management, portal access control and login/authentication and recommended guidelines
Talend for Data Integration guide
Talend for Data Integration guide Table of Contents Introduction...2 About the author...2 Download, install and run...2 The first project...3 Set up a new project...3 Create a new Job...4 Execute the job...7
MAKE A NEW SUBSITE 1. On the left navigation, click Site Contents (or Sites). Scroll down to subsites. Click new subsite.
SharePoint 2013 Administrator Instructions Contents SharePoint 2013 Administrators Guide... 1 MAKE A NEW SUBSITE... 1 PERMISSIONS... 2 DOCUMENT LIBRARIES... 3 IMPROVE NAVIGATION ON THE SHAREPOINT SITE...
IDS 561 Big data analytics Assignment 1
IDS 561 Big data analytics Assignment 1 Due Midnight, October 4th, 2015 General Instructions The purpose of this tutorial is (1) to get you started with Hadoop and (2) to get you acquainted with the code
Version Control with. Ben Morgan
Version Control with Ben Morgan Developer Workflow Log what we did: Add foo support Edit Sources Add Files Compile and Test Logbook ======= 1. Initial version Logbook ======= 1. Initial version 2. Remove
Hadoop Tutorial. General Instructions
CS246: Mining Massive Datasets Winter 2016 Hadoop Tutorial Due 11:59pm January 12, 2016 General Instructions The purpose of this tutorial is (1) to get you started with Hadoop and (2) to get you acquainted
Cascading Pattern - How to quickly migrate Predictive Models (PMML) from SAS, R, Micro Strategies etc., onto Hadoop and deploy them at scale
Cascading Pattern - How to quickly migrate Predictive Models (PMML) from SAS, R, Micro Strategies etc., onto Hadoop and deploy them at scale V1.0 September 12, 2013 Introduction Summary Cascading Pattern
Drupal CMS for marketing sites
Drupal CMS for marketing sites Intro Sample sites: End to End flow Folder Structure Project setup Content Folder Data Store (Drupal CMS) Importing/Exporting Content Database Migrations Backend Config Unit
ORACLE GOLDENGATE BIG DATA ADAPTER FOR HIVE
ORACLE GOLDENGATE BIG DATA ADAPTER FOR HIVE Version 1.0 Oracle Corporation i Table of Contents TABLE OF CONTENTS... 2 1. INTRODUCTION... 3 1.1. FUNCTIONALITY... 3 1.2. SUPPORTED OPERATIONS... 4 1.3. UNSUPPORTED
Exam Name: IBM InfoSphere MDM Server v9.0
Vendor: IBM Exam Code: 000-420 Exam Name: IBM InfoSphere MDM Server v9.0 Version: DEMO 1. As part of a maintenance team for an InfoSphere MDM Server implementation, you are investigating the "EndDate must
Runtime Monitoring & Issue Tracking
Runtime Monitoring & Issue Tracking http://d3s.mff.cuni.cz Pavel Parízek [email protected] CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Runtime monitoring Nástroje pro vývoj software
MarkLogic Server. MarkLogic Connector for Hadoop Developer s Guide. MarkLogic 8 February, 2015
MarkLogic Connector for Hadoop Developer s Guide 1 MarkLogic 8 February, 2015 Last Revised: 8.0-3, June, 2015 Copyright 2015 MarkLogic Corporation. All rights reserved. Table of Contents Table of Contents
How to read Temperature and Humidity from Am2302 sensor using Thingworx Edge java SKD for Raspberry Pi
How to read Temperature and Humidity from Am2302 sensor using Thingworx Edge java SKD for Raspberry Pi Revison History Revision # Date ThingWorx Revision Changes Owner 1.0 2.0 21-11-14 3.0 17-12-14 4.0
Tutorial: BlackBerry Application Development. Sybase Unwired Platform 2.0
Tutorial: BlackBerry Application Development Sybase Unwired Platform 2.0 DOCUMENT ID: DC01214-01-0200-02 LAST REVISED: May 2011 Copyright 2011 by Sybase, Inc. All rights reserved. This publication pertains
Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2 Installing OpsCenter on Amazon AMI References Contact
Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2... 2 Launce Amazon micro-instances... 2 Install JDK 7... 7 Install Cassandra... 8 Configure cassandra.yaml file... 8 Start
ArpViewer Manual Version 1.0.6 Datum 30.9.2007
SWITCHaai ArpViewer Manual Version 1.0.6 Datum 30.9.2007 AAI C.Witzig Content 1. Introduction...3 2. Functional Description...3 3. Description of the Components...3 3.1. Arpfilter...3 3.2. Controller...4
Installing (1.8.7) 9/2/2009. 1 Installing jgrasp
1 Installing jgrasp Among all of the jgrasp Tutorials, this one is expected to be the least read. Most users will download the jgrasp self-install file for their system, doubleclick the file, follow the
Capabilities of a Java Test Execution Framework by Erick Griffin
Capabilities of a Java Test Execution Framework by Erick Griffin Here we discuss key properties and capabilities of a Java Test Execution Framework for writing and executing discrete Java tests for testing
Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3
Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 DOCUMENT ID: DC01939-01-0230-01 LAST REVISED: March 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication
Aspects of using Hibernate with CaptainCasa Enterprise Client
Aspects of using Hibernate with CaptainCasa Enterprise Client We all know: there are a lot of frameworks that deal with persistence in the Java environment one of them being Hibernate. And there are a
MariaDB Cassandra interoperability
MariaDB Cassandra interoperability Cassandra Storage Engine in MariaDB Sergei Petrunia Colin Charles Who are we Sergei Petrunia Principal developer of CassandraSE, optimizer developer, formerly from MySQL
Single Node Hadoop Cluster Setup
Single Node Hadoop Cluster Setup This document describes how to create Hadoop Single Node cluster in just 30 Minutes on Amazon EC2 cloud. You will learn following topics. Click Here to watch these steps
Basic Unix/Linux 1. Software Testing Interview Prep
Basic Unix/Linux 1 Programming Fundamentals and Concepts 2 1. What is the difference between web application and client server application? Client server application is designed typically to work in a
Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02
Tutorial: Android Object API Application Development Sybase Unwired Platform 2.2 SP02 DOCUMENT ID: DC01734-01-0222-01 LAST REVISED: January 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This
Setting up Sudoku example on Android Studio
Installing Android Studio 1 Setting up Sudoku example on Android Studio Installing Android Studio Android Studio provides everything you need to start developing apps for Android, including the Android
Building and Using Web Services With JDeveloper 11g
Building and Using Web Services With JDeveloper 11g Purpose In this tutorial, you create a series of simple web service scenarios in JDeveloper. This is intended as a light introduction to some of the
Java with Eclipse: Setup & Getting Started
Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/
XMLVend Protocol Message Validation Suite
XMLVend Protocol Message Validation Suite 25-01-2012 Table of Contents 1. Overview 2 2. Installation and Operational Requirements 2 3. Preparing the system 3 4. Intercepting Messages 4 5. Generating Reports
