Activities
This category contains small activities in discussed in BLOG like fashion.

Compile Hadoop Trunk on Mac Java 7 PDF Print E-mail
Written by Carlo A. Curino   
Friday, 09 November 2012 17:29

(UPDATED)

I saw my Java 6 disappear... and I don't even want to know how to blame or rant about, but I need to compile Hadoop (trunk as of early november) on my macbook running 10.7.5 (latest updates at the time of this post) with the Oracle Java 1.7.0.8.

This is briefly what worked for me... but as a disclaimer this is a hackish quick-fix to get the thing to compile, not a clean mvn marvel.

There are two parts of this:

1) fix a pom.xml in hadoop-common-project/hadoop-annotations by adding the following

 

This fixes the compile errors coming from the hadoop-common-projects. (apologies for the image, but it is joomla is kicking and screaming on the tags)

 

2) (ugly) Fix the compile errors for hadoop-hdfs

sudo mkdir /Library/Java/JavaVirtualMachines/jdk1.7.0_08.jdk/Contents/Home/Classes 
cd !$
sudo ln -s ../lib/tools.jar classes.jar

This solves the problem of ant/mvn/make/someone that looks for tools.jar into the wrong place by linking the wrong place to the right place. Now this is a disgusting trick, but after fussing around with mvn (which I don't know well at all) for a bit, I decided to be pragmatical.

Potential (cleaner) solution that Markus Weimer suggested is the following:

I haven't tested it yet, but here it is.

 

The final version of this consists in using:


<profile>
   <id>macdep</id>
   <activation>
      <os>
        <name>macprofile</name>
        <family>mac</family>
      </os>
    </activation>
    <dependencies>
    <dependency>
     <groupId>jdk.tools</groupId>
     <artifactId>jdk.tools</artifactId>
     <scope>system</scope>
     <systemPath>/Library/Java/JavaVirtualMachines/jdk1.7.0_08.jdk/Contents/Home/lib/tools.jar</systemPath>
     <version>1.7</version>
    </dependency>
   </dependencies>
  </profile>

In the <profiles> section of the main pom.xml, and in the hadoop-annotations.

 

Last Updated on Thursday, 15 November 2012 06:10
 
CFP: Data Management in the Cloud 2013 PDF Print E-mail
Written by Carlo A. Curino   
Tuesday, 21 August 2012 14:36

I am co-organizer with Ashraf Aboulnaga for the Second Workshop on Data Management in the Cloud, co-located with ICDE (Brisbane, Australia). We expect it to be a highly interactive forum for both practitioners and academics interested in the space of data management and cloud computing, and we welcome both novel research and industry experience papers.

CFP and details at: http://db.uwaterloo.ca/dmc2013/ and below the high level idea of the workshop:

Cloud computing has emerged as a promising computing and business model. By decoupling the management of the infrastructure (cloud providers) from its use (cloud tenants), and by allowing the sharing of massive infrastructures, cloud computing delivers unprecedented economical and scalability benefits for existing applications and enables many new scenarios. This comes at the cost of increased complexity in managing a highly multi-tenant infrastructure and limited visibility/access posing new questions on attribution, pricing, isolation, scalability, fault-tolerance, load balancing, etc. This is particularly challenging for stateful, data-intensive applications.

This unique combination of opportunities and challenges attracted much attention from both academia and industry. The DMC workshop aims at bringing researchers and practitioners in cloud computing and data management systems together to discuss the research issues at the intersection of these two areas, and also to draw more attention from the larger data management and systems research communities to this new and highly promising field.

 

See you in Australia!!!

 
TPC-C hardware resources utilization: an analysis PDF Print E-mail
Written by Carlo A. Curino   
Thursday, 15 April 2010 04:23

I've run several experiments on what are the HW requirements for OLTP applications, in particular for TPC-C. The results are posted on here: TPC-C performance experiments and hardware utilization.

 
FlyMake Emacs: continuous compilation PDF Print E-mail
Written by Carlo A. Curino   
Monday, 12 May 2008 18:55

This youtube video shows the possibility of using Emacs with a "continuous" compilation feature turned on... it is horribly slow, since the guys who made it do not talk, but only type :-( so feel free to skip all the way to 4':30'' (out of 5') to see the interesting part. Sounds good to me...

{youtube}F5Cc2W6PbL8{/youtube}

 
PRISM: a tool for schema evolution PDF Print E-mail
Written by Carlo A. Curino   
Saturday, 10 May 2008 18:59

 

 

I just posted on-line a Demo (work in progress) of a tool for Schema Evolution support i designed and implemented during my stay in UCLA under the guidance of Carlo Zaniolo and with the collaboration of Hyun J. Moon.

 Feel free to test it, criticize it, and report me feedback of any kind: Prism a tool for schema evolution (http://yellowstone.cs.ucla.edu/schema-evolution/index.php/PrismDemo)

 A Video of a typical interaction with the interface is available at: Prism a tool for schema evolution (http://yellowstone.cs.ucla.edu/schema-evolution/documents/Prism-Demo.mov)

 Let me know your opinions ...

 

 

Last Updated on Saturday, 24 May 2008 09:31
 
«StartPrev123456NextEnd»

Page 1 of 6
Copyright © 2014 . All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.