Member since
04-06-2019
125
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2009 | 03-07-2017 04:15 PM |
08-23-2017
08:23 PM
Can Someone Help this issue?
... View more
08-23-2017
02:33 PM
Hi Team, We have recently done upgrade in our environment HDF
2.1.2.0-10 to
3.0.1.0-43, after upgrade we are facing issues like ranger policy UI not loading. Attached the logs and screenshot FYR. Kinldy help me to close this thread. Logs : Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Aug 23, 2017 2:23:52 PM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Deriving webapp folder from catalina.base property. folder=/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp
Aug 23, 2017 2:23:52 PM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Webapp file =/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp, webAppName = /
Aug 23, 2017 2:23:52 PM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Adding webapp [/] = path [/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp] .....
Aug 23, 2017 2:23:52 PM org.apache.catalina.core.StandardContext setPath
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
Aug 23, 2017 2:23:52 PM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Finished init of webapp [/] = path [/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp].
Aug 23, 2017 2:23:52 PM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Name is empty. Setting Name Rule as 'DEFAULT'
Aug 23, 2017 2:23:52 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-6080"]
Aug 23, 2017 2:23:52 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Aug 23, 2017 2:23:52 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.77
Aug 23, 2017 2:23:52 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp/WEB-INF/lib/javax.servlet-api-3.1.0.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Aug 23, 2017 2:23:52 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp/WEB-INF/lib/servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Aug 23, 2017 2:23:52 PM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp/WEB-INF/lib/tomcat-el-api-7.0.77.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Aug 23, 2017 2:23:52 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Aug 23, 2017 2:23:58 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
Aug 23, 2017 2:23:58 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 23, 2017 2:23:58 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Aug 23, 2017 2:23:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Set web app root system property: 'webapp.root' = [/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp/]
Aug 23, 2017 2:23:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing log4j from [/usr/hdf/3.0.1.0-43/ranger-admin/ews/webapp/WEB-INF/log4j.properties]
log4j:ERROR Could not find value for key log4j.appender.xa_log_appender
log4j:ERROR Could not instantiate appender named "xa_log_appender".
log4j:ERROR Could not find value for key log4j.appender.xa_log_appender
log4j:ERROR Could not instantiate appender named "xa_log_appender".
log4j:ERROR Could not find value for key log4j.appender.xa_log_appender
log4j:ERROR Could not instantiate appender named "xa_log_appender".
log4j:ERROR Could not find value for key log4j.appender.xa_log_appender
log4j:ERROR Could not instantiate appender named "xa_log_appender".
Aug 23, 2017 2:23:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.security.core.SpringSecurityCoreVersion).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Aug 23, 2017 2:24:03 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
org.apache.ranger.rest
org.apache.ranger.common
xa.rest
Aug 23, 2017 2:24:03 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
class org.apache.ranger.rest.XUserREST
class org.apache.ranger.rest.PublicAPIs
class org.apache.ranger.rest.TagREST
class org.apache.ranger.rest.ServiceREST
class org.apache.ranger.rest.PublicAPIsv2
class org.apache.ranger.rest.AssetREST
class org.apache.ranger.rest.UserREST
class org.apache.ranger.rest.XAuditREST
class org.apache.ranger.rest.XKeyREST
Aug 23, 2017 2:24:03 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Provider classes found:
class org.apache.ranger.common.RangerJAXBContextResolver
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext
INFO: Using default applicationContext
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, assetREST, of type org.apache.ranger.rest.AssetREST as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, publicAPIs, of type org.apache.ranger.rest.PublicAPIs as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, publicAPIsv2, of type org.apache.ranger.rest.PublicAPIsv2 as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, serviceREST, of type org.apache.ranger.rest.ServiceREST as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, tagREST, of type org.apache.ranger.rest.TagREST as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, userREST, of type org.apache.ranger.rest.UserREST as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, XAuditREST, of type org.apache.ranger.rest.XAuditREST as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, XKeyREST, of type org.apache.ranger.rest.XKeyREST as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory register
INFO: Registering Spring bean, XUserREST, of type org.apache.ranger.rest.XUserREST as a root resource class
Aug 23, 2017 2:24:03 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.4 09/11/2010 10:41 PM'
Aug 23, 2017 2:24:03 PM com.sun.jersey.spi.inject.Errors processErrorMessages
WARNING: The following warnings have been detected with resource and/or provider classes:
WARNING: A HTTP GET method, public void org.apache.ranger.rest.ServiceREST.getPoliciesInExcel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.apache.ranger.rest.ServiceREST.getPoliciesInCsv(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException, MUST return a non-void type.
WARNING: A HTTP GET method, public void org.apache.ranger.rest.ServiceREST.getPoliciesInJson(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.Boolean), MUST return a non-void type.
Aug 23, 2017 2:24:03 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-6080"]
... View more
Labels:
- Labels:
-
Apache Ranger
07-25-2017
04:04 PM
@Matt Clarke
Thanks for the detailed answer i will accept this 🙂 before that the allignment of flow is so messy is that any options to arrange? My NiFi - Version 1.1
... View more
07-25-2017
03:04 PM
Hi Team, Is there any option to hide flows in user based because, we have multiple user environment i dont want to see other users flow even flow name when i logged in is that any option available in nifi? Because auditing and security point of this is the first point management is asking..
... View more
Labels:
- Labels:
-
Apache NiFi
06-28-2017
03:35 AM
Hi All, In hive how to get database creation date? can we get detail from meta data?
... View more
Labels:
- Labels:
-
Apache Hive
06-23-2017
07:04 AM
Hi Avi, Please updated the logback.xml with below correction and restart nifi to reflect the changes. your logback.xml <fileNamePattern>
C:\NiFi\nifi-1.2.0\logs\nifi-app_%d{yyyy-MM-dd_HH}.%i.zip
</fileNamePattern>
But it should be: <fileNamePattern>
C:\NiFi\nifi-1.2.0\logs\nifi-app_%d{yyyy-MM-dd_HH}.%i.log.zip
</fileNamePattern>
... View more
06-22-2017
11:45 AM
@Bryan Bende Thank you so much it worked 🙂 you made my day...
... View more
06-21-2017
04:38 PM
okay but how its working in one node and not working in other node? i didnt understand that logic , can you explain?
... View more
06-21-2017
04:18 PM
Hi Bryan, Thanks in advance pasted the 4 nars jar detaisl and if i removed the first nar in one node nifi starting but in other node without removing itself starting. hope your answer will give some clarity on this issue 1st
activation-1.1.jar
activemq-client-5.12.1.jar
avro-1.7.7.jar
bcpkix-jdk15on-1.55.jar
bcprov-jdk15on-1.55.jar
bcprov-jdk16-1.46.jar
commons-codec-1.10.jar
commons-compress-1.11.jar
commons-io-2.5.jar
commons-jexl-2.1.1.jar
commons-lang3-3.4.jar
commons-logging-1.2.jar
commons-net-3.3.jar
geronimo-j2ee-management_1.1_spec-1.0.1.jar
geronimo-jms_1.1_spec-1.1.1.jar
hawtbuf-1.11.jar
httpclient-4.4.1.jar
httpcore-4.4.1.jar
jackson-annotations-2.6.0.jar
jackson-core-2.6.1.jar
jackson-core-asl-1.9.13.jar
jackson-databind-2.6.1.jar
jackson-mapper-asl-1.9.13.jar
javax.jms-api-2.0.1.jar
jersey-client-1.19.jar
jersey-core-1.19.jar
jersey-server-1.19.jar
joda-time-2.8.2.jar
jsch-0.1.54.jar
jsr311-api-1.1.1.jar
jzlib-1.1.3.jar
kite-data-core-1.0.0.jar
kite-hadoop-compatibility-1.0.0.jar
log4j-1.2.16.jar
lzma-java-1.3.jar
mail-1.4.7.jar
mrapid-commom-util-1.0.0.jar
mrapid-data-validation-processor-1.0.0.jar
nifi-flowfile-packager-1.1.0.jar
nifi-logging-utils-1.1.0.jar
nifi-processor-utils-1.1.0.jar
nifi-security-utils-1.1.0.jar
nifi-socket-utils-1.1.0.jar
nifi-standard-processors-0.0.1-incubating.jar
nifi-utils-1.1.0.jar
opencsv-2.3.jar
paranamer-2.3.jar
parquet-avro-1.4.1.jar
parquet-column-1.4.1.jar
parquet-common-1.4.1.jar
parquet-encoding-1.4.1.jar
parquet-format-2.0.0.jar
parquet-generator-1.4.1.jar
parquet-hadoop-1.4.1.jar
parquet-jackson-1.4.1.jar
Saxon-HE-9.6.0-5.jar
snappy-java-1.0.5.jar
xz-1.5.jar
2nd
avro-1.7.7.jar
bcpkix-jdk15on-1.55.jar
bcprov-jdk15on-1.55.jar
commons-codec-1.10.jar
commons-compress-1.11.jar
commons-csv-1.4.jar
commons-io-2.5.jar
commons-jexl-2.1.1.jar
commons-lang3-3.4.jar
commons-logging-1.1.1.jar
jackson-annotations-2.6.0.jar
jackson-core-2.6.1.jar
jackson-core-asl-1.9.13.jar
jackson-databind-2.6.1.jar
jackson-mapper-asl-1.9.13.jar
kite-data-core-1.0.0.jar
kite-hadoop-compatibility-1.0.0.jar
log4j-1.2.16.jar
mrapid-avro-conversion-processor-0.0.2.jar
mrapid-commom-util-0.0.2.jar
nifi-processor-utils-1.1.0.jar
nifi-security-utils-1.1.0.jar
nifi-utils-1.1.0.jar
opencsv-2.3.jar
paranamer-2.3.jar
parquet-avro-1.4.1.jar
parquet-column-1.4.1.jar
parquet-common-1.4.1.jar
parquet-encoding-1.4.1.jar
parquet-format-2.0.0.jar
parquet-generator-1.4.1.jar
parquet-hadoop-1.4.1.jar
parquet-jackson-1.4.1.jar
snappy-java-1.0.5.jar
3rd
avro-1.7.7.jar
bcpkix-jdk15on-1.55.jar
bcprov-jdk15on-1.55.jar
commons-codec-1.10.jar
commons-compress-1.11.jar
commons-io-2.5.jar
commons-jexl-2.1.1.jar
commons-lang3-3.4.jar
commons-logging-1.1.1.jar
jackson-annotations-2.6.0.jar
jackson-core-2.6.1.jar
jackson-core-asl-1.9.13.jar
jackson-databind-2.6.1.jar
jackson-mapper-asl-1.9.13.jar
kite-data-core-1.0.0.jar
kite-hadoop-compatibility-1.0.0.jar
log4j-1.2.16.jar
mrapid-commom-util-0.0.2.jar
mrapid-file-validation-processor-0.0.2.jar
nifi-processor-utils-1.1.0.jar
nifi-security-utils-1.1.0.jar
nifi-utils-1.1.0.jar
opencsv-2.3.jar
paranamer-2.3.jar
parquet-avro-1.4.1.jar
parquet-column-1.4.1.jar
parquet-common-1.4.1.jar
parquet-encoding-1.4.1.jar
parquet-format-2.0.0.jar
parquet-generator-1.4.1.jar
parquet-hadoop-1.4.1.jar
parquet-jackson-1.4.1.jar
4th
avro-1.7.7.jar
bcpkix-jdk15on-1.55.jar
bcprov-jdk15on-1.55.jar
commons-codec-1.10.jar
commons-compress-1.11.jar
commons-io-2.5.jar
commons-jexl-2.1.1.jar
commons-lang3-3.4.jar
commons-logging-1.1.1.jar
jackson-annotations-2.6.0.jar
jackson-core-2.6.1.jar
jackson-core-asl-1.9.13.jar
jackson-databind-2.6.1.jar
jackson-mapper-asl-1.9.13.jar
kite-data-core-1.0.0.jar
kite-hadoop-compatibility-1.0.0.jar
log4j-1.2.16.jar
mrapid-commom-util-0.0.4.jar
mrapid-invalid-data-processor-0.0.4.jar
nifi-processor-utils-1.1.0.jar
nifi-security-utils-1.1.0.jar
nifi-utils-1.1.0.jar
opencsv-2.3.jar
paranamer-2.3.jar
parquet-avro-1.4.1.jar
parquet-column-1.4.1.jar
parquet-common-1.4.1.jar
parquet-encoding-1.4.1.jar
parquet-format-2.0.0.jar
parquet-generator-1.4.1.jar
parquet-hadoop-1.4.1.jar
parquet-jackson-1.4.1.jar
snappy-java-1.0.5.jar
... View more
06-21-2017
03:34 PM
@Bryan Bende @Matt Clarke Please share your inputs its hapenning in our prod environment but the same working in dev with same setup.
... View more