avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-785) SpecificCompiler - noisy log from Velocity
Date Fri, 25 Mar 2011 20:37:05 GMT

     [ https://issues.apache.org/jira/browse/AVRO-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated AVRO-785:
------------------------------

    Attachment: AVRO-785.patch

Here's a patch to update Velocity to 1.7.

> SpecificCompiler - noisy log from Velocity 
> -------------------------------------------
>
>                 Key: AVRO-785
>                 URL: https://issues.apache.org/jira/browse/AVRO-785
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.5.0
>            Reporter: Arun Ramakrishnan
>            Priority: Minor
>              Labels: compiler, specificcompiler, velocity
>             Fix For: 1.5.1
>
>         Attachments: AVRO-785.patch
>
>
> This log message is noisy and almost looks like an error for the casual observer.
>  This is while calling SpecificCompiler.compileSchema. 
> *************************
> 4:56:28.819 [main] DEBUG AvroVelocityLogChute - Created '20' parsers.
> 14:56:28.823 [main] DEBUG AvroVelocityLogChute - Velocimacro : "velocimacro.library"
is not set.  Trying default library: VM_global_library.vm
> 14:56:28.824 [main] DEBUG AvroVelocityLogChute - Velocity was not initialized! Calling
init()...
> 14:56:28.827 [main] DEBUG AvroVelocityLogChute - Could not load resource 'VM_global_library.vm'
from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader: 
> org.apache.velocity.exception.ResourceNotFoundException: ClasspathResourceLoader Error:
cannot find resource VM_global_library.vm
> at org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader.getResourceStream(ClasspathResourceLoader.java:131)
~[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.resource.loader.ResourceLoader.resourceExists(ResourceLoader.java:224)
~[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.getLoaderForResource(ResourceManagerImpl.java:641)
[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.getLoaderNameForResource(ResourceManagerImpl.java:624)
[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.RuntimeInstance.getLoaderNameForResource(RuntimeInstance.java:1464)
[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.VelocimacroFactory.initVelocimacro(VelocimacroFactory.java:159)
[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:261) [velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.RuntimeInstance.requireInitialization(RuntimeInstance.java:290)
[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1398)
[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1380)
[velocity-1.6.4.jar:1.6.4]
> at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:401) [velocity-1.6.4.jar:1.6.4]
> at org.apache.avro.compiler.specific.SpecificCompiler.renderTemplate(SpecificCompiler.java:226)
[avro-compiler-1.5.0.jar.zip:1.5.0]
> at org.apache.avro.compiler.specific.SpecificCompiler.compile(SpecificCompiler.java:269)
[avro-compiler-1.5.0.jar.zip:1.5.0]
> at org.apache.avro.compiler.specific.SpecificCompiler.compileToDestination(SpecificCompiler.java:215)
[avro-compiler-1.5.0.jar.zip:1.5.0]
> at org.apache.avro.compiler.specific.SpecificCompiler.compileSchema(SpecificCompiler.java:165)
[avro-compiler-1.5.0.jar.zip:1.5.0]
> at com.incentica.avro.GenJava.main(GenJava.java:32) [bin/:na]
> 14:56:28.828 [main] DEBUG AvroVelocityLogChute - Velocimacro : Default library not found.
> 14:56:28.828 [main] DEBUG AvroVelocityLogChute - Velocimacro : allowInline = true : VMs
can be defined inline in templates
> 14:56:28.828 [main] DEBUG AvroVelocityLogChute - Velocimacro : allowInlineToOverride
= false : VMs defined inline may NOT replace previous VM definitions
> 14:56:28.828 [main] DEBUG AvroVelocityLogChute - Velocimacro : allowInlineLocal = false
: VMs defined inline will be global in scope if allowed.
> 14:56:28.828 [main] DEBUG AvroVelocityLogChute - Velocimacro : autoload off : VM system
will not automatically reload global library macros
> 14:56:28.849 [main] DEBUG AvroVelocityLogChute - ResourceManager : found /org/apache/avro/compiler/specific/templates/java/classic/record.vm
with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> **********************

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message