Member since
05-03-2017
10
Posts
1
Kudos Received
0
Solutions
08-31-2018
09:05 AM
Timezone on my system is UTC+1 and first day of the week is Monday (also specified on my system). With (...):format('yyyy-MM-dd HH:mm:ss', 'GMT') I get 2018-08-18 22:00:00, but without 'GMT' I get 2018-08-19 00:00:00.
... View more
08-30-2018
10:57 AM
1 Kudo
Hi all, I nifi I have an attribute with filename from which I extracted date with substring (only yyyyMMdd portion). After that I want to calculate year week number for date 2018/08/19 (formated from string portion 20180819024112) which is week number 33. If I use format without specified timezone ('GMT'), I get week number 34, but with specified timezone I get correct week number 33. What is the difference? Why do I get wrong week number without timezone. GMT is only +2 hours from 19th of August Midnight. Thanks, Tom
... View more
Labels:
- Labels:
-
Apache NiFi
08-13-2018
01:47 PM
@Matt Clarke I checked that. All providers are inside <authorizers> tag and in proper order. Thanks, Tomislav
... View more
07-28-2018
02:21 PM
Hi to all, I configured Nifi on HDP cluster to authenticate users using kerberos. HDP 2.6.0.3 Ambari 2.5.0.3 Nifi 1.2.0 I changed nifi.properties, authorizers.xml and login-identity-providers.xml ccording to docs and when I restarted Nifi a get this in nifi-app.log Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'x509AuthenticationProvider' defined in class path resource [nifi-web-security-context.xml]: Cannot resolve reference to bean 'authorizer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation; nested exception is java.lang.Exception: Unable to load the authorizer configuration file at: /usr/hdf/current/nifi/conf/authorizers.xml Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'userGroupProvider'. One of '{authorizer}' is expected. Authorizer is managed-authorizer and I put xml conf in following order <userGroupProvider> <accessPolicyProvider> <authorizer> I even try to formatt XML config entries in case it can't parse XML, but exception is still there after restart. Any ideas? Thank you.
... View more
Labels:
- Labels:
-
Apache NiFi
07-28-2018
01:56 PM
Ok, thank you. I checked that on namenode and it says 'Safemode is OFF'
... View more
07-28-2018
01:13 PM
@Geoffrey Shelton Okot Could you explain in little more details what I get with that commands? I'm not catching you up. Thanks.
... View more
07-28-2018
12:48 PM
Hi to all, Ambari shows alerts on Zookeper service and Ambari Infra service with this message on the picture in attachement. Host is also a zookeeper server and Namenode. I tried with synchronizing server clocks, but nothing. HDP version: 2.6.0.3 Ambari version: 2.5.0.3 An ideas? Thank you!
... View more
Labels:
- Labels:
-
Apache Hadoop