background preloader

Development

Facebook Twitter

Ashish's Tech Blog. 01.2014-04-08 21:24:41,454 [main] ERROR org.apache.pig.PigServer - exception during parsing: Error during parsing. <file test.pig, line 16, column 51> Unexpected character '$' 02.Failed to parse: <file test.pig, line 16, column 51> Unexpected character '$' 03. at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:243) 04. at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:179) 05. at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1676) 06. at org.apache.pig.PigServer$Graph.access$000(PigServer.java:1409) 07. at org.apache.pig.PigServer.parseAndBuild(PigServer.java:342) 08. at org.apache.pig.PigServer.executeBatch(PigServer.java:367) 09. at org.apache.pig.PigServer.executeBatch(PigServer.java:353) 10. at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:140) 11. at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:769) 12. at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:372)

Java

Book Review: Implementation Patterns. We Recommend These Resources Summary: Should you read the book? It contains pearls of wisdom hidden in the mud of “I know that already, man.” I’d thus recommend skimming through the book and reading only the pieces matching your level and needs. The book seems to be targeted a lot at Java beginners (especially the chapter on collections), going into otherwise unnecessary details, yet there are many valuable advises of which some can only be appreciated by somebody with multiple years of professional programming experience.

It thus seems to me that the book isn’t a perfect match for anybody but everybody will find there many useful ideas. It would best be split in two. An experienced developer will already know many of the patterns though it’s perhaps useful to see them named and described explicitly and listed next to each – it helps to be aware and clearer of what you do and why you do it. Selected Quotes etc. Other Highlights. ORA-00600 arguments: [keltnfy-ldmInit], [46], [1] Problem Description In oracle 10.2.0.1 while creating database with dbca it fails with message below.ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], [] If you try to create your database manually then also the command startup nomount fails with above error message. Cause of the Problem In the error ldmInit indicates that the problem is related while getting host information of oracle during startup.

The first argument 46 indicates the exception LDMERR_HOST_NOT_FOUND which is "gethostbyname system call fails". Oracle was unable to get host information from OS and bug fires. Solution of the ProblemStep 01: Check permission on /etc/hosts $ ls -l /etc/hosts -rw-r--r-- 1 root root 153 Nov 24 2007 /etc/hosts Note that you need read permission of all users. Step 02: Check the contents of /etc/hosts Open the contents of /etc/hosts and check the contents inside it.$ less /etc/hosts Note that the contents of this files follow following format. A simple example, Researcher's Blog (Informative) | Its 'Todos' About Fundamentos!!!!! XSLT Programmer's Reference 2nd Edition. XSLT in Context This chapter is designed to put XSLT in context. It's about the purpose of XSLT and the task it was designed to perform. It's about what kind of language it is, and how it came to be that way; and it's about how XSLT fits in with all the other technologies that you are likely to use in a typical web-based application.

I won't be saying much in this chapter about what an XSLT stylesheet actually looks like or how it works: that will come later, in Chapters 2 and 3. I shall begin by describing the task that XSLT is designed to perform – transformation – and why there is the need to transform XML documents. I'll then present a trivial example of a transformation in order to explain what this means in practice. The chapter then moves on to discuss the relationship of XSLT to other standards in the growing XML family, to put its function into context and explain how it complements the other standards. What is XSLT? Why should you want to do that? Why Transform XML? XSLT Processors.

Using xsl conditionals in applicationContext.xml.