Varadhan Sesharaman

Ranch Hand
+ Follow
since Apr 21, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Varadhan Sesharaman

HI

I have a method



In this all the two strings are eligible for garbage collection?

Thanks,
varadhan
10 years ago
Hi Guys,

I am an newbie to Hadoop and Mapreduce.

Now I need to process a zip file in myproject using Mapreduce, like input have to be a zip file and the output may be zip or text file.

Can anyone give me sample or suggest me a link for that.


Thanks,
varadhan.S

10 years ago
Hi Guys,

I am a beginer in Hadoop.

What is the main diffreence between Context and Output in hadoop.

I know in Context write method is used to write the output and in Output collect method is used to put the output ,other than that is there any major difference.

Or where to use Context and where to use Output in hadoop?

Thanks in advance.
10 years ago

What is the main difference in Compile time and runtime error.

Give an simple eg on those above error.

Thanks,
varadhan.s
11 years ago
Guys,

I had good idea on what is overridding and inheritance but actuaaly need to know why we need them and when to use them?

Explain them with a eg if possible.
11 years ago
Some gave an example of creating singleton Connection object is more effcient.

How thus can be done and in what way it will be helpfull for the connection?
11 years ago
Thank you guys.

Now i got it cleared.

Thanks again for your help
12 years ago
Hi guys,

Can we write logic in catch block.

Suppose we establish db connection in try block and then due some exception the try block is terminated and can we close the connection it in catch block.

If not possible i need a reason for that.


Thanks,
varadhan.s
12 years ago
Hi everyone,

Here is my doubt how can get dates that are in between two given dates using Calendar API.

eg: Dates between 12/05/2012 and 20/05/2012.

How can i implement it through calendar.

Thanks,
Varadhan.s
12 years ago
Thank you guys for those answers.

Now i had some idea on this concept.


Thanks,
Varadhan.s
Palak Mathur,

In some cases i saw the query files are kept out of the java code .

The query are written in xml using the proper xml tags and the in run time the queries are converted into a normal query and then executed in java.

I am asking is there any specific reason for keeping the query out of the java file.
Hi guys,

I want to know what is the main advantages of writing the sql query in xml format and then parsing to the sql format.

I need its main advantage and the comparison of it with the normal method of writing it in java file.


Thanks
Varadhan.s
hi guys,

I want to know the advantages of Spring over Struts as a frame-work.

And how the advantages affects our productivity and time.


Thanks
12 years ago
I am using Jasper Reports 4.5 now but initially in my project i have created reports using Jasper Report 3.0.


And now when i run the reports through eclipse i am getting a exception.


net.sf.jasperreports.engine.JRRuntimeException: Unkown print order 0.
at net.sf.jasperreports.engine.fill.JRFillSubreport.initSubreportFiller(JRFillSubreport.java:384)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:359)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:277)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:399)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1289)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupFooter(JRVerticalFiller.java:685)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupFooters(JRVerticalFiller.java:659)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:239)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:132)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:758)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:685)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517)
at net.sf.jasperreports.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:385)
at mems.reporting.report.RptTemplate.runToByteArray(RptTemplate.java:319)
at mems.reporting.report.RptTemplate.generate(RptTemplate.java:245)
at mems.controller.Controller.generate(Controller.java:96)
at mems.controller.Controller.service(Controller.java:75)
at Rptservletx.service(Rptservletx.java:23)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
2012-03-17 10:53:04,562 [http-80-Processor19] ERROR com.memsi - net.sf.jasperreports.engine.JRRuntimeException: Unkown print order 0.


How can i solve the issue. Wheather its a issue of jasper version.

I get this exception while compling the jasper file.